Win a copy of Head First Android this week in the Android forum!
  • 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 ...
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • Al Hobbs
  • salvin francis

Where is the stub?

Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have query regarding the stub creation and access.
I am having the home and the remote interface. while deployment the container will implement the interfaces and create stubs for both home and remote interfaces (EJBObject class, EJBObject stub class, Home class and Home stub class)and it will be in jar file, which will be used by the client application.

I am using the JBoss 4.2.2.GA application server. After deployment, I don't find the jar file, but the client can able to get the home object and able to call business methods on remote object. Where can I find those jar.

I have also used J2EE server previously and during the deployment,the client jar file will be created and placed in desired folder.

And I have another query, whether the client jar creation that is the container implementation and stubs creation will always be done during the deployment, for all the application server or it's vendor specific.
Posts: 5856
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The stubs for EJBs are created dynamically by JBoss AS - there is no JAR file containing the stubs. How stubs are created/managed is app server dependent.
    Bookmark Topic Watch Topic
  • New Topic