I have developed my application without thinking about Remote interfaces and I am almost done. but now I realized that I should have done using remote interfaces. to be honest I have not idea about remote and local stuff as I am totally new. I found some simple books and tutorials to develop this application. Now, I am planning to change all session beans to remote. and I really don't know what to do and how to do.
any suggestions, any idea, any tutorials any books,
I am using EJB 3.0, Java EE 6, JSF 2, Can you please provide a couple of lines showing how to change it. I don't have any interface at the moment and I have some where that by default it is local. so I have to change it to remote and design the interfaces.
At the moment I have only got stateless session beans, which are simply classes.
how about try to create an interface annotating it with @Remote and implement the interface on your session bean. i dont see any related configuration in ejb-jar.xml/sun-ejb-jar.xml so this should work.
OCPJP6
my overalls have superpowers - they repel people who think fashion is important. Tiny ad: