Experts Exchange > Programming > Prog Languages > Java > J2EE > Enterprise Application Web Module Error
Enterprise application web module error
Asked by: gudii9
I have created one new enterprise aplication project called July2014. While creating I have added one new EJB module called July2014EJB for business logic and one new web module Called July2014Web for the UI(I see connector module and application client module what are the uses of them and when should i select them).I have addded one index.jsp with below sample code
When i right click on the parent July2014 EAR project (which is basically empty except it contains web module and ejb module within it ) run on JBoss 7.1 server on my windows laptop I am getting errors as attached.
Actualyl when i selected EAR, EJB and WEB projects all three of them and 'Refresh' then the issue solved. Before that i did multiple clean, build, publish, restart, add/remove project from server, creating new instance of server etc.
Do i need to do this kind of exercise for creating and running any simiple EJB example. Why EJB examples do not run for first time. How the refresh is different from clean build.
connector module and application client module what are the uses of them