*
The moose likes EJB and other Java EE Technologies and the fly likes client .jar file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "client .jar file" Watch "client .jar file" New topic
Author

client .jar file

ray bond
Ranch Hand

Joined: Oct 11, 2000
Posts: 111
about weblogic5.1 i want to know that for client application to execute it must have some stub which deals with skeleton at ejb container , but if weblogic does not generate client.jar file then what file client application has to set in classpath as a stub and to enable distibuted execution of ejb , with j2sdkee1.3 from sun you have the option "Return client.jar file" so after deploying it generates client.jar file seperetly , what about weblogic.
second question is if ejb-jar.xml file has to be manually created and placed in META-INF directory then how to create this xml file , what tags to use and what value for tags to use ?
thanks

Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15952
    
  19

If the WebLogic deployment tools support creating a client-only jar, I'm not aware of it. Then again, WebLogic's deployment tools have been pretty useless since Version 5. Most serious developers seem to just build everything with Ant. For me, it's never been an issue - my bean jars have been light enough that I just use them with the client as well, and ignore the extra ballast. This gives the added benefit that as long as the same jar is used by both client and server (e.g. common file location), there's no chance of getting out of sync.
As for the XML, you might want to check out http://www.mousetech.com/EJBWizard.html . This is a RAD tool that can build your basic bean files including the XML, Ant build file, and prototype JSP's to work with them. Since I don't have WebLogic available at present, it may need some tweaking, but I'll be glad to help.

Customer surveys are for companies who didn't pay proper attention to begin with.
greg philpott
Ranch Hand

Joined: Nov 10, 2000
Posts: 73
Ray,
I have just started to use the Weblogic Server 6.1 and have nopticed that they recommend using ANT to build the ejb (in fact ant is bundled with weblogic 6.1)
You can get it from http://jakarta.apache.org/ant/
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: client .jar file
 
Similar Threads
client .jar file
Error running the HF EJB AdviceClient with Weblogic Server
deploying in weblogic 5.1
deploying in weblogic 5.1
getXXX methods