Skip to Content
0
Former Member
Nov 20, 2006 at 01:35 PM

Three tier Application

103 Views

Hi EveryBody

The way I developed the application is

First I create java project.

put all the hibernate related code in it and make 1 point interface class to access add update delete.

Second Create a Stateless Session Bean 3 with all the business logic in it.

Third I create a web project where I am using JSF. From JSF manage bean I call Session bean and Its is accessable. but the exception throws when EJB 3 code call simple java project that contain hibernate related code.

If I create a jar file for java code and attach it to EJB its work but its not development friendly.

I just give the project reference in the Ejb project and it compile fine. and deploy but I think

When it deploy It leaves the java project and not bundle it with them

Any suggestion to solve this issue is really appreciated

Thank you

best Regard

Syed Saifuddin