| Author |
Struts 2.0 and EJB
|
Eshwar Prasad
Ranch Hand
Joined: Mar 21, 2008
Posts: 193
|
|
I am new to struts 2.0. There is a requirement to use ejb 2.0 in struts 2.0.
Please let me know how this can be done.
|
 |
Joe Ess
Bartender
Joined: Oct 29, 2001
Posts: 8290
|
|
Struts (both 1 and 2) is a front controller. It has nothing to do with back-end technology like EJB's.
You can use EJB's just like you would with any other program.
We have a Struts-specific forum. I'll move this question there for more input.
|
"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
|
 |
Ankit Garg
Saloon Keeper
Joined: Aug 03, 2008
Posts: 9191
|
|
|
Well you can create an Enterprise application (EAR) and build an EJB module in it. Then create a Web module (WAR) based on struts and use EJB in it just as in servlets i.e. using lookups etc...
|
SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
|
 |
 |
|
|
subject: Struts 2.0 and EJB
|
|
|