• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

client .jar file

 
Ranch Hand
Posts: 111
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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

 
Saloon Keeper
Posts: 28713
211
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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/
 
reply
    Bookmark Topic Watch Topic
  • New Topic