This week's giveaway is in the Testing forum.
We're giving away four copies of TDD for a Shopping Website LiveProject and have Steven Solomon on-line!
See this thread for details.
Win a copy of TDD for a Shopping Website LiveProject this week in the Testing forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

is EJB jar server specific ?

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 1871
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
And then we all jump out and yell "surprise! we got you this tiny ad!"
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic