Solved

Adding ejb method

Posted on 2007-03-20
2
342 Views
Last Modified: 2013-12-14
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?
0
Comment
Question by:colr__
2 Comments
 
LVL 35

Accepted Solution

by:
TimYates earned 250 total points
ID: 18763674
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)

Cheers

Tim
0
 
LVL 30

Assisted Solution

by:Mayank S
Mayank S earned 250 total points
ID: 18777401
"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."

http://www.jot.fm/issues/issue_2005_09/column3
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In our object-oriented world the class is a minimal unit, a brick for constructing our applications. It is an abstraction and we know well how to use it. In well-designed software we are not usually interested in knowing how objects look in memory. …
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.

896 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now