I am using eclipse/myeclipse ide to develop EAR application. The EAR project includes some EJB projects and a WEB project. The question I have is quite general --
If I define a java class A in project proj_A, how can another java class B in a different project B able to access class A ?
Can I
1) let project B have a "project reference" to project A ?
OR
2) In the properties of project B, can I choose "j2ee module dependency" and includes "project A" there ?