Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / May 2007

Tip: Looking for answers? Try searching our database.

Jboss 4.0.5, ejb3, remote client

Thread view: 
natG - 30 Apr 2007 19:24 GMT
Hi;
For a ejb3 app deployed on Jboss 405, that I want to access from a remote
(non-web, fat) client,
1. Which jars need to be in the client's classpath?
2. [In the code,] Do I still need to do it the ejb 2.x way or is there a
better way. (With a servlet I can now lookup "MyBean/local" and there is
no need to call the jndi narrow stuff.) I am hoping that I can do the
same on a remote.

Thanks
nat
Danno - 30 Apr 2007 21:25 GMT
> Hi;
> For a ejb3 app deployed on Jboss 405, that I want to access from a remote
[quoted text clipped - 7 lines]
> Thanks
> nat

http://docs.jboss.org/ejb3/app-server/tutorial/jndibinding/src/org/jboss/tutoria
l/jndibinding/client/Client.java

natG - 30 Apr 2007 23:31 GMT
>> Hi;
>> For a ejb3 app deployed on Jboss 405, that I want to access from a
[quoted text clipped - 9 lines]
>
> http://docs.jboss.org/ejb3/app-server/tutorial/jndibinding/src/org/jboss/tutoria
l/jndibinding/client/Client.java

Thanks Danno.

I still need to know please; Which jars need to be in the client's
classpath?

Thank you much
nat
Arne Vajhøj - 01 May 2007 02:27 GMT
> I still need to know please; Which jars need to be in the client's
> classpath?

I have not used the EJB 3 features, but it used to be enough to
just have jbossall-client.jar in classpath !

Arne
natG - 01 May 2007 18:42 GMT
>> I still need to know please; Which jars need to be in the client's
>> classpath?
>
> I have not used the EJB 3 features, but it used to be enough to just
> have jbossall-client.jar in classpath !

Not any more. Maybe on JBoss 5. But on 4.0x with ejb3 there are more
files but doing a google on this and sifting thru the material leads to
many conflicting ideas, some listing as many as five different jars.

nat
Danno - 08 May 2007 21:26 GMT
> >> I still need to know please; Which jars need to be in the client's
> >> classpath?
[quoted text clipped - 7 lines]
>
> nat

I guess it depends on what you need, put jbossall-client.jar and place
in accordingly into your client any jar files required at compile and
runtime. I am sure that once final is out, it will be all in one.  You
may want to search their bug tracking stuff to make sure they know
about it, I am sure they'll appreciate it. ;)


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.