Accessing "Spring MVC" application from a "Java EE Dynamic Web" application -


we have 2 applications 1 java ee dynamic web application accessed internet complex authentication mechanism. second 1 new application built on spring mvc framework (3.0 above). both applications deployed on same server.

now need access details (like employee details based on employee id) new spring application java ee web application.

i.e using method call new spring application java ee web application passing parameters (empid) , update details, etc.

we not planning re-authenticate again new spring application.

can 1 please how achieve this?

you must configure both of applications use same session store in server. when querying new spring application can pass url following;

http://<host>:<port>/newapplication/user/1?jsessionid=<javaeeapplicationsessionid> 

where javaeeapplicationsessionid current jsessionid logged using java ee application. way new spring application jsessionid in shared session store , not ask re-authenticate can find valid session.


Comments

Popular posts from this blog

php - Submit Form Data without Reloading page -

linux - Rails running on virtual machine in Windows -

php - $params->set Array between square bracket -