Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes EJB and other Java EE Technologies and the fly likes RMIC Stub class generation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "RMIC Stub class generation" Watch "RMIC Stub class generation" New topic
Author

RMIC Stub class generation

Dhan Jo
Greenhorn

Joined: Jan 31, 2012
Posts: 2
Hi,

I am new to EJB.
I am having an existing EJB2 application which is having a bean class which is inturn having DB calls and service calls. My problem is I want to add a new param to one of the existing method. But when I add this parameter it is showing compilation errors in some of the follwing generated files .(because of this extra argument )

_EJSRemoteStateless........._1806911e_Tie
_EJSRemoteStateless........._1806911e_Tie.java
EJSLocalStateless........._1806911e.java
EJSLocalStateless........._1806911e.java
EJSRemoteStateless........._1806911e.java
EJSRemoteStateless.........Home_1806911e.java
EJSStateless.........Bean_1806911e.java

This files having commets in the top as above.

// Tie class generated by rmic, do not edit.
// Contents subject to change without notice.

Could somebody help me and give a solution for this?

Thanks
Jodhan
Andrew Moko
Ranch Hand

Joined: Dec 16, 2011
Posts: 55
I'd first verify if the stub classes are matching the skeleton classes. And then upgrade from ejb2 to ejb3
Dhan Jo
Greenhorn

Joined: Jan 31, 2012
Posts: 2
THanks for your reply Andrew
Actually this is an existing application and I am not sure i'll be able to upgrade this to ejb3. Could you please tell me the procedure in detail how to generate these classes from the bean class


 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: RMIC Stub class generation