• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

ejb client

 
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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,
max
 
Ranch Hand
Posts: 560
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic