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
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.
An IDE is no substitute for an Intelligent Developer.
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/