Java Reference
In-Depth Information
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
<%@ page import="ejb3.*, javax.naming.*" %>
<meta http-equiv="Content-Type" content="text/html;
<title>Insert title here</title>
<body><% InitialContext context = new InitialContext();
CatalogTestBeanRemote beanRemote = (CatalogTestBeanRemote)
String catalog=beanRemote.test(); %><%=catalog %>
Deploying the entity in WebLogic Server
We have created all the classes and configuration files we need to create an EJB 3.0
entity bean. Next, we shall compile the classes to create a EJB JAR file. We shall
create a WAR file from the EJB 3.0 client JSP and package the WAR file with the JAR
file into an EAR file. We shall use a build.xml script to compile the EJB classes,
create an EAR file, and deploy the EAR file to WebLogic Server. Create a build.
xml script in the JPA project with File | New | Other and XML | XML in the New
window. The build.xml script is shown next:
Search WWH ::

Custom Search