Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Java client  RSS feed

 
Bacchi Gerem
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have to develop a java client not using Webshpere IDE which connect to that EJB Server and retrieve the data. Please suggest

1. what are the Jar file i need to include.
2. if some body has some material please let me know

Thanks
Bhaskar

[ June 11, 2004: Message edited by: Bhaskar Gara ]
[ June 11, 2004: Message edited by: Bhaskar Gara ]
 
Mag Hoehme
Ranch Hand
Posts: 194
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Bhaskar,

you need at least the following:

1. - J2EE: include the j2ee.jar (lib directory) into your classpath
2. - get the properties for the initial context from the EJB provider.

Depending of the EJB container, you may need some more jar libraries in your classpath.

Any EJB tutorial also contains client examples addressing an EJB. You may also check my EJB tutorial (somewhat incomplete, but it may cover your questions).

Finally, you question relates to J2EE technology. When you need any further help, you might get it faster when posting in the EJB section of this forum.

Hope this helps.
 
sander hautvast
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
for websphere 4.0x AE you need at least
j2ee.jar
ns.jar
iwsorb.jar
ejbcontainer.jar

and if you adhere to websphere standards:
bootstrap.jar

or run an appclient in an ear with the lauchclient script

And: you need to run it in a websphere JRE. (ie. not a IBM JRE). copy a complete java dir from a websphere installation
 
Jessica Sant
Sheriff
Posts: 4313
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
moving this to the J2EE and EJB forum. Please continue the discussion there. Thanks!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!