Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

J2EE deployment involving ejb-jar and war

 
Preetham Chandrasekhar
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All,

I currently have an ear which contains an ejb-jar file and a war file. So far...so good. All is working fine. I have a local interface of a stateless ejb that i use in the war and access the apis in the ejb. So with no specific configuration...the ear/ejb classloader is accessible to the war and hence all works just fine. Now I would like to split out the war from the ear and place it outside the ear. How can I use this setup...whats the configuration i have to do? Is it app server specific? Also I guess in this case I am forced to have all the interfaces of the ejb packaged as part of the client which in this case is the war?

Thanks
 
Reza Rahman
author
Ranch Hand
Posts: 580
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Preetham,

Firstly why do you need to do this? What you are asking is possible, but might be difficult depending on the vendor (using remoting, global JNDI names, etc).

Regards,
Reza
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic