I like the new EJB support, but I'm missing support for the "Business
interface" design pattern. This pattern solves the problem that the EJB
spec prevents us from letting bean implementation implement the business
It's very simple: Instead of defining all business methods on a bean in the
Remote interface, you define a Business interface with these, which do not
extend EJBObject. You then let Remote interface extend both business
interface and EJBObject interface.
This way, you can let your Bean implementation implement Business interface,
and have javac-compile-time checking on method signatures.
It has been documented in patterns catalog and theServerSide long time ago:
I believe this pattern is used by really many EJB developers around the
world, so even though it not part of the standard, I think it could still
be appealing to many IDEA users! (what you say?)
Maybe it could be as simple as extending the "IDEA Options->EJB Names"
dialog with a "Business interface name" and a "Business interface enabled".
And if enabled, IDEA would e.g. suggest to add new public methods in EJB
implementations to business instead etc.