cancel
Showing results for 
Search instead for 
Did you mean: 

How to develop a service in Web Dynpro that runs non-stop in background?

deshdeepak_shukla2
Participant
0 Kudos

I want to develop an application that runs automatically as soon as WAS starts.It should behave like DEAMON process working in background.It should not have a manual run mechanism.Basically i have to simulate SM37 transaction.How do i do it using services in Web Dynpro?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello,

Because WebDynpro is meant to be an user interface building technology, i suppose there is no way to run a WebDynpro app in background.

If you want to have a J2EE application running in background you have two choices

1) Implement a EJB performing the requested operation, and create a servlet that creates a Java Thread responsible for executing this EJB periodically in it's initialization method and mark that servlet to "load on startup" in the web.xml

2) Implement a EJB and wait for SP12. On SDN Meets Labs some SAP guy promised that SP12 will contain a tool able to control jobs for both ABAP and Java stacks.

--

regards

Marcin