sumesh sadanandan

Non EJB deployment in a j2ee application

Discussion created by sumesh sadanandan on Jul 6, 2009
Latest reply on Jul 14, 2009 by Andrei Palskoi

Hi ,

 

Anybody here has tried a non ejb rule sevice ie without using the NdStatelessEjbServerAppBean .

 

Using EJB has some disadvantages when you have 10+ rule projects and you would want a single class handling the invocation .

This is even better when you do not have an rules which has any transactional nature.

 

Here the EJB becomes an overhead.

 

On the other hand we could use dependency injection and try to acheive this.

 

I tried using the NdStatelessServer and tried dynamically assigning the server config (NdServerConfig) to it when an instance is created and tried invoking the rules through a web application

 

The only result i get is that the application hangs .

 

Is there an example some where so that i can have a look at the code for non EJD deployment in a web application.

 

Regards,

Sumesh

Outcomes