This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes BEA/Weblogic and the fly likes ejb client Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "ejb client" Watch "ejb client" New topic

ejb client

Maximilian Trenks
Ranch Hand

Joined: Jul 22, 2002
Posts: 104
what does the procedure of creating a client.jar file in weblogic look like ?
Do I make a client.jar file, copy my interfaces (home/remote) and my client class (with the main method) into it ?
Then include ejb-client-jar in the deployment descriptors and run ejbc on my application ?
is that correct ?
how do i call my client then ? java client.jar ?
the weblogic docu doesn't contain any example for that.

many thanx for your answers,

Student of Business Informatics<br />Kepler University Linz, Austria
Sai Prasad
Ranch Hand

Joined: Feb 25, 2002
Posts: 560
All you need to do is develop remote interfaces and give a name in ejb-client-jar element. When you run ejbc, you will see a jar for your client program to use. You will write a java application which refers to this client jar in its classpath. Hope that helps.

Joined: Jan 22, 2002
Posts: 26
Its very simple.
Just u have to write the Home, Remote Interface.
Bean Class, weblogic.xml, weblogic-ejb-jar.xml.
Package the above files as .jar file
Now write a client program and lookup for the home interface, get the remote interface and finally call the remote method.

I agree. Here's the link:
subject: ejb client
jQuery in Action, 3rd edition