architecture java gwt+jsf2+spring packaging -
i planning website has gwt admin interface, jsf 2 frontend , spring handle business logic.
basicly. have 3 projects:
gwt spring (business logic might export web services in future) jsf 2in gwt planning have spring context (from dependend spring-project) , utilize connect database?
is possible create 3 projects in eclipse, refer dependencies them , create ear contains of these? what happens user session? stored in gwt , jsf 2? is architecture? how can done somehow else? how bundle those? war files? or jar? in single ear... or?
first of why want utilize 2 different client side technologies (jsf2
, gwt
)? rather stick 1 of them.
saying that: yes, possible have 3 different projects. recommended way (at to the lowest degree gwt
, spring
or other backend) have them in separate projects.
is possible create 3 projects in eclipse, refer dependencies them , create ear contains of these?
well @ to the lowest degree gwt can't access backend/database straight (not sure jsf2). have utilize kind of communication protocol (requestbuilder
, requestfactory
, gwt-rpc
, rest
) can have shared classes (in bundle xxx.shared
) can referenced both gwt
, spring
application (that used gwt-rpc
or requestfactory
)
what happens user session? stored in gwt , jsf 2?
there nil special user sessions. gwt , jsf communicate via http requests backend. same thing applies normal http requests applies gwt/jsf2 requests.
is architecture? how can done somehow else?
it depends on want achieve. mentioned before rather stick 1 client side technology (gwt
or jsf2
) rather using both of them.
how bundle those? war files? or jar? in single ear... or?
gwt compiles downwards javascript included in host file. create 1 war or ear file gets deployed application server.
java spring gwt jsf-2
No comments:
Post a Comment