Hi,

I want to build a complete application J2EE with Portlet in add to Servlet. 
The file that I mean is the following: 

 application.xml   
 ejbModule.jar 
 warModule.war 

In the warModule.war I want insert for the moment only portlets that references 
ejbModule's EJBs  . 

Suppose that I have build the EJB UserEntity (name, surname, userId); 

What consideration about deployment descriptors there are to have the following 
code in my UserPortlet 


 try {
  UserEntityLocalHome userLocalHome = (UserEntityLocalHome) new 
InitialContext().lookup ("ejb/User");  
 } 
 catch (NamingException ne1) {
  ne1.printStackTrace(); 
 }



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874641#3874641

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3874641


-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to