AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

JRE for EJB calls from client?

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> comp.lang.java.api
View previous topic :: View next topic  
Author Message
Geo
Guest





PostPosted: Tue Aug 03, 2004 12:12 pm    Post subject: JRE for EJB calls from client? Reply with quote



Hello!

While designing an application, I would like to make the clients
(Swing applications) direclty call the session EJBs running on my
weblogic server.

The question is : which JRE should I install on client machines, since
they need J2SE 1.4 for my swing GUI but also some J2EE libraries to be
able to call EJBs?

Maybe they should install J2SE 1.4 JRE + j2ee.jar (from a j2ee JDK)?
Should they call my EJB as RMI objects, so that they would not need
j2ee.jar anymore (but how?)?

Thank you by advance for any help!
Back to top
Geo
Guest





PostPosted: Wed Aug 04, 2004 1:41 pm    Post subject: Re: JRE for EJB calls from client? Reply with quote



I have just found the wlclient.jar library in the server/lib
directory. This solved my problem. I've just added this jar to the
client classpath, as well as the ejb-client.jar generated with
weblogic workshop (which contains the stubs of my EJBs). This works
fine! I still use my EJB as if I was on the same machine (weblogic
uses iiop instead of the T3 protocole which is in my url).
Thanks to the "Package" part of this link:
http://edocs.bea.com/wls/docs81/ejb/implementing.html#1173746

Does this seem right to you?

Is there any license linked to this library (how to know it?) or may I
distribute it with my app?
Thanks!
Back to top
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> comp.lang.java.api All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.