Adding ejb method

I used netbeans a lot in the past, and one thing I miss while using Intellij is the functionality for adding EJB methods. In netbeans, you could right click and choose 'add ejb method' which would then open a dialogue for the method signature - Netbeans would then add the method signature to the home class and the ejb class, which made it a hell of a lot easier to create ejb methods.

Is there no such functionality for doing this in Intellij, or do the methods have to be added manually to both classes?
Who is Participating?
TimYatesConnect With a Mentor Commented:
Never really used Idea, but I *believe* that if you add the method to the home class, it should provide you with a coding assistance "lightbulb" that adds the method to the ejb class as well...

Maybe...  Hope this helps, even though I doubt it does ;-)

Sorry about that... someone who knows should be along soon (I hope)


Mayank SConnect With a Mentor Associate Director - Product EngineeringCommented:
"Click on the light bulbs and accept the offer from the popup (shown in figure 3.2) to add the specification for each of your new methods to the HelloBean ’s component interface."
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.