• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EJB deployment as JAR and EAR

 
Vasanth Raju
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
While deploying an EJB(Session beans) in an Enterprise application project as an EAR with other webcomponents, we pack all the stuff(web+EJB) into one single EAR.
This being the case what is the advantage of using EJB(Session beans) here
as the power of ejb(Resuable component) comes into picture only when deployed seperately as a JAR in a remote client.
 
Scott Selikoff
author
Saloon Keeper
Posts: 4020
18
Eclipse IDE Flex Google Web Toolkit
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you clarify your question, I'm not sure I follow what you're asking.
 
Amit M Tank
Ranch Hand
Posts: 257
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can deploy an EJB separately also. I mean you can deploy EJB as a jar file as well.
[ May 28, 2008: Message edited by: Amit M Tank ]
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34863
369
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Amit M Tank:
You can deploy an EJB separately also. I mean you can deploy EJB as a jar file as well.

Do you know of a server that supports this. I didn't know you could do this.

EJBs can be reused regardless. And ejb-jar can be deployed in another ear. Or it can be called remotely.
 
Nikos Pougounias
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Jeanne Boyarsky:

Do you know of a server that supports this.


JBoss.
 
prashant k. gupta
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Jeanne Boyarsky:

Do you know of a server that supports this.




IBM WebSphere
 
Amit M Tank
Ranch Hand
Posts: 257
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Even Weblogic
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic