We have successfully used SmartGWT LPGL for several projects and recently we have purchased SmartGWT Power license. In previous project we used much or less the same architecture where we used SmartGWT components using GWT-RPC data sources. On the server side we used Hibernate/Spring with Gilead for transferring domain objects to client side.
Now I have project with somehow different architecture as we started to use Glassfish with JavaEE 6 and SmartGWT server support. I have few questions regarding architecture:
- We are using EJB3 in EAR application. Do we need to write our own DataSource implementation (like in Reusable ORM example) or there is some built in support for EJB3?
- What is preferred way for calling server side (non-datasource) actions when using SmartGWT server? Do you suggest using GWT-RPC or SmartGWT provides some better alternatives (DMI RPC, RPC Manager)? How do you compare these methods, what are pros/cons?
- What is preferred way for i18n? I am asking this because we used GWT mechanisms for localization in SmartGWT LPGL as our data sources were client side. However, if I understood correctly, for server side ds we should use JSTL tag libraries. Do you suggest using separate message bundles for client side/server side or same file (I guess JSTL fmt tag could use same message resources file as GWT)?
Now I have project with somehow different architecture as we started to use Glassfish with JavaEE 6 and SmartGWT server support. I have few questions regarding architecture:
- We are using EJB3 in EAR application. Do we need to write our own DataSource implementation (like in Reusable ORM example) or there is some built in support for EJB3?
- What is preferred way for calling server side (non-datasource) actions when using SmartGWT server? Do you suggest using GWT-RPC or SmartGWT provides some better alternatives (DMI RPC, RPC Manager)? How do you compare these methods, what are pros/cons?
- What is preferred way for i18n? I am asking this because we used GWT mechanisms for localization in SmartGWT LPGL as our data sources were client side. However, if I understood correctly, for server side ds we should use JSTL tag libraries. Do you suggest using separate message bundles for client side/server side or same file (I guess JSTL fmt tag could use same message resources file as GWT)?
Comment