It's not a secret anymore!
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "RMIC Stub class generation" Watch "RMIC Stub class generation" New topic

RMIC Stub class generation

Dhan Jo

Joined: Jan 31, 2012
Posts: 2

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 )


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?

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

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:
subject: RMIC Stub class generation
It's not a secret anymore!