File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

is EJB jar server specific ?

 
vaibhav waghmare
Greenhorn
Posts: 15
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
are stubs and skels generated for one server compatible to other servers?. Or universaly same for all of them.
------------------
love n regards,
-VaibhaV.
 
Kumarasun Nadar
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No they are not compatible because each vendor such as IBM, WebLogic implement their EJB server in their own way, hence the stub and skeleton generated on one server will be different from other.

[This message has been edited by Kumarasun Nadar (edited May 21, 2001).]
 
vaibhav waghmare
Greenhorn
Posts: 15
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi nadar,
first off all thx for your reply. but I would like to know more about the same. What i want to know know is that what makes the jar files different for different servers ? is it because they follow different EJB specifications like 1.0 or 1.1 OR is there some other reason behind this ?
thx in advance , but plz reply me.
Originally posted by Kumarasun Nadar:
No they are not compatible because each vendor such as IBM, WebLogic implement their EJB server in their own way, hence the stub and skeleton generated on one server will be different from other.

[This message has been edited by Kumarasun Nadar (edited May 21, 2001).]


------------------
love n regards,
-VaibhaV.
 
Rahul Mahindrakar
Ranch Hand
Posts: 1868
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
vaibhav,
The stub and skelitions generated in the jar files contain the means to connect to & invoke remote calls on the EJB. The whole of EJB API is only consisting of interfaces. There are no implementations. The vendors implement these interfaces in their application server classes in a vendor specific way. Thus you cannot connect from a Client with a Websphere Client jar file to a Weblogic server. I hope you get this.
However note that though the vendor client jar file may change you need not change the Client code. You just have to put another vendors jar file in the classpath and the client works fine.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic