Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

RMIC Stub class generation

 
Dhan Jo
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'd first verify if the stub classes are matching the skeleton classes. And then upgrade from ejb2 to ejb3
 
Dhan Jo
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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


 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic