1 of 1 people found this helpful
As a migration from SLSB's from EJB2=>EJB3 is simple you might do this.
From the EJB spec a EJB3 bean have to support EJB2 Home/Remote interface, so you can keep this and call the EJB3 bean from your EJB2 application as before with EJB2 interfaces.
If you migrate that you call the EJB3 interfaces (which is more simple without stupid Home and create code) and drop the EJB2 interface if not longer needed.
A mix of AS4 and AS7 might be a bit more tricky as the EJB invocation was complete rewritten, so I would (if possible) do this change in one step.