Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Where is the stub?

Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • 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
  • 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.
No matter how many women are assigned to the project, a pregnancy takes nine months. Much longer than this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic