In my opinion, the most challenging part of developing EJB is dealing with local interfaces, remote interfaces and value objects. Method signatures are often specific to local/remote interfaces.
How has that changed in EJB3?
posted 10 years ago
Yes, things have changed dramatically in this regard in the sense that local and remote interfaces are now POJI. No more extending EJBObject or EJBLocalObject. No more RemoteException throws clauses. In general, the only diference between a local and a remote inteface is whether it is marked with a @Remote or @Local annotation. For remote interfaces, Value Objects still need to be serializabl, though. In any case, this is good practice anyway.
Independent Consultant — Author, EJB 3 in Action — Expert Group Member, Java EE 6 and EJB 3.1