wood burning stoves 2.0*
The moose likes EJB and other Java EE Technologies and the fly likes Ejb stand alone client question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Ejb stand alone client question" Watch "Ejb stand alone client question" New topic
Author

Ejb stand alone client question

jaki jane
Greenhorn

Joined: Aug 04, 2008
Posts: 11
Hi all,
Im to develop a stand alone java client for my ejb3 app (which consists of a few entity beans and corresponding session beans to manage those entities and remote interfaces for the session beans). Right now, Im packaging the client and the ejb in the same ear but I want to have my client moved to a different machine. Below is part of my client code



What changes will I have to make to the above code so it can connect with the ejb in the other machine. Also, will I have to package the ejb as jar along with the client? My client references the remote interfaces as well as the session and entity beans. But if i have to add the entire ejb module as a jar it doesnt make much sense to have it running on a remote machine.
Kindly help

ps: the client will be deployed as war in tomcat and ejb3 module will be running on jboss.


[ August 04, 2008: Message edited by: jake jake ]
[ August 04, 2008: Message edited by: jake jake ]
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

jake jake, please check your private messages.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30789
    
157

"jakij",
Please fix your display name again. Both a first name and last name are required. Now you only have one name.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Ejb stand alone client question