You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Francisco Exposito <fc...@hotmail.com> on 2009/06/04 17:45:09 UTC

Doubts about new project (Struts2 good way to do it?)

Hello,

I want to create a portal with this functionalities, and I don't know if it is possible to do it using Struts2 or what is better for it:

1) User preferences: every user can configure its "window" and maintain its configuration after save preferences and log in again. The user can select options from a list and position them where he wants. ¿Maybe using portlets?¿Changing css dinamically depending on logged user?¿Any other option?

2) Languages: every user can access in some languages. As I've tested, the language is configured with regional settings. But it is possible to select the language in the login page and maintain it during the session?

3) Persistence layer: better Hibernate or iBatis? About performance?

4) E-commerce: shop cart, what about security?

5) Sitemesh or Tiles? I've used tiles and it is ok, but the xml are too long. About performance?



The options I've considered are:

Tomcat, MySQL, Struts2 with Spring IOC and open in view filter, Sitemesh or Tiles, Hibernate or iBatis, Portlets. 

Other option is use JSF. Which selection do you think would be better?

Thanks in advance.

Francisco

_________________________________________________________________
Chatea sin límites en Messenger con la tarifa plana de Orange
http://serviciosmoviles.es.msn.com/messenger/orange.aspx

RE: Interceptor - Conditional "Redirect" to alternate action

Posted by "Mitchell, Steven" <St...@umb.com>.
Oh, wow, that's incredibly simple.  I was making it too complicated in my mind, thinking I needed to tell the ActionInvocation class not to allow the original action to fire. 

I see now that the answer was right there in the API "[Interceptor.intercept()] - Allows the Interceptor to... short-circuit the processing and just return a String return code."

-----Original Message-----
From: Wes Wannemacher [mailto:wesw@wantii.com] 
Sent: Monday, June 08, 2009 9:14 AM
To: Struts Users Mailing List
Subject: Re: Interceptor - Conditional "Redirect" to alternate action

Could you use a global-result?

http://struts.apache.org/2.x/docs/result-configuration.html#ResultConfiguration-GlobalResults

I would just think up a unique name for the set of conditions that
should cause the redirect. Then, configure that string as a
global-result and write your interceptor to do the check and return
the string if the conditions are met and action.invoke otherwise.

-Wes

On Mon, Jun 8, 2009 at 10:09 AM, Mitchell,
Steven<St...@umb.com> wrote:
> I need to put an interceptor after the cookie interceptor that will send
> the user to a preference page if a preference cookie is missing rather
> than let the desired action fire--like a guard condition. If I was using
> a Filter I would just do a redirect.
>
> Eventually I will also add a Flash shared object as a back-up to the
> cookie, so I'll need to put a Flash shared object interceptor in the
> stack too. The "redirector" interceptor would check the cookie and flash
> token values put set by the previous interceptors in the stack. If both
> are missing, then a different action needs to fire.
>
> Where can I find an example of an interceptor that conditionally
> "redirects" the user to an alternate action? I'm having trouble
> picturing how the plumbing would work and I think an example of this
> kind would be a big help.
>
> Steve Mitchell
> http://www.ByteworksInc.com
>
>
> ------------------------------------------------------------------------------
> NOTICE:  This electronic mail message and any attached files are confidential.  The information is exclusively for the use of the individual or entity intended as the recipient.  If you are not the intended recipient, any use, copying, printing, reviewing, retention, disclosure, distribution or forwarding of the message or any attached file is not authorized and is strictly prohibited.  If you have received this electronic mail message in error, please advise the sender by reply electronic mail immediately and permanently delete the original transmission, any attachments and any copies of this message from your computer system. Thank you.
>
> ==============================================================================
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>



-- 
Wes Wannemacher
Author - Struts 2 In Practice
Includes coverage of Struts 2.1, Spring, JPA, JQuery, Sitemesh and more
http://www.manning.com/wannemacher

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Interceptor - Conditional "Redirect" to alternate action

Posted by Wes Wannemacher <we...@wantii.com>.
Could you use a global-result?

http://struts.apache.org/2.x/docs/result-configuration.html#ResultConfiguration-GlobalResults

I would just think up a unique name for the set of conditions that
should cause the redirect. Then, configure that string as a
global-result and write your interceptor to do the check and return
the string if the conditions are met and action.invoke otherwise.

-Wes

On Mon, Jun 8, 2009 at 10:09 AM, Mitchell,
Steven<St...@umb.com> wrote:
> I need to put an interceptor after the cookie interceptor that will send
> the user to a preference page if a preference cookie is missing rather
> than let the desired action fire--like a guard condition. If I was using
> a Filter I would just do a redirect.
>
> Eventually I will also add a Flash shared object as a back-up to the
> cookie, so I'll need to put a Flash shared object interceptor in the
> stack too. The "redirector" interceptor would check the cookie and flash
> token values put set by the previous interceptors in the stack. If both
> are missing, then a different action needs to fire.
>
> Where can I find an example of an interceptor that conditionally
> "redirects" the user to an alternate action? I'm having trouble
> picturing how the plumbing would work and I think an example of this
> kind would be a big help.
>
> Steve Mitchell
> http://www.ByteworksInc.com
>
>
> ------------------------------------------------------------------------------
> NOTICE:  This electronic mail message and any attached files are confidential.  The information is exclusively for the use of the individual or entity intended as the recipient.  If you are not the intended recipient, any use, copying, printing, reviewing, retention, disclosure, distribution or forwarding of the message or any attached file is not authorized and is strictly prohibited.  If you have received this electronic mail message in error, please advise the sender by reply electronic mail immediately and permanently delete the original transmission, any attachments and any copies of this message from your computer system. Thank you.
>
> ==============================================================================
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>



-- 
Wes Wannemacher
Author - Struts 2 In Practice
Includes coverage of Struts 2.1, Spring, JPA, JQuery, Sitemesh and more
http://www.manning.com/wannemacher

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Interceptor - Conditional "Redirect" to alternate action

Posted by "Mitchell, Steven" <St...@umb.com>.
I need to put an interceptor after the cookie interceptor that will send
the user to a preference page if a preference cookie is missing rather
than let the desired action fire--like a guard condition. If I was using
a Filter I would just do a redirect. 

Eventually I will also add a Flash shared object as a back-up to the
cookie, so I'll need to put a Flash shared object interceptor in the
stack too. The "redirector" interceptor would check the cookie and flash
token values put set by the previous interceptors in the stack. If both
are missing, then a different action needs to fire.

Where can I find an example of an interceptor that conditionally
"redirects" the user to an alternate action? I'm having trouble
picturing how the plumbing would work and I think an example of this
kind would be a big help.

Steve Mitchell
http://www.ByteworksInc.com


------------------------------------------------------------------------------
NOTICE:  This electronic mail message and any attached files are confidential.  The information is exclusively for the use of the individual or entity intended as the recipient.  If you are not the intended recipient, any use, copying, printing, reviewing, retention, disclosure, distribution or forwarding of the message or any attached file is not authorized and is strictly prohibited.  If you have received this electronic mail message in error, please advise the sender by reply electronic mail immediately and permanently delete the original transmission, any attachments and any copies of this message from your computer system. Thank you.

==============================================================================


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Doubts about new project (Struts2 good way to do it?)

Posted by Dave Newton <ne...@yahoo.com>.
Francisco Exposito wrote:
> Do you have a list of functionalities of JSR168 portlets? Or some url to find info or examples...

http://tinyurl.com/kl69x4

Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


RE: Doubts about new project (Struts2 good way to do it?)

Posted by Francisco Exposito <fc...@hotmail.com>.
Do you have a list of functionalities of JSR168 portlets? Or some url to find info or examples...

> Date: Mon, 8 Jun 2009 13:00:07 +0200
> Subject: Re: Doubts about new project (Struts2 good way to do it?)
> From: nilsga@gmail.com
> To: user@struts.apache.org
> 
> Jetspeed2 - No, JSR168 portlets - Yes. You should be aware of the
> features and limitations of portlets though. It might not necessarily
> be what you're looking for. I suggest digging a bit deeper into the
> topic if you're considering using it.
> 
> Nils-H
> 
> On Mon, Jun 8, 2009 at 9:05 AM, Francisco
> Exposito<fc...@hotmail.com> wrote:
> >
> > Has anyone an example of jetspeed2 + struts2?
> >
> >> Date: Fri, 5 Jun 2009 14:24:28 +0200
> >> Subject: Re: Doubts about new project (Struts2 good way to do it?)
> >> From: poulwiel@gmail.com
> >> To: user@struts.apache.org
> >>
> >> Hi Francisco,
> >> free hosting for java can be a hard one to find,
> >> i don't know or heard of any.
> >>
> >> Best greetings,
> >> Paweł Wielgus.
> >>
> >>
> >> 2009/6/5 Francisco Exposito <fc...@hotmail.com>:
> >> >
> >> > I've read that jetspeed2 documentation is poor... do you have an example about jetspeed2 + struts2?
> >> >
> >> > Then, is it possible to create a project using:
> >> >
> >> > Struts2, Jetspeed2, Spring plugin, Hibernate and Sitemesh? or jetspeed is not compatible with the other? And what about the performance? Could it be ok using all that? And is it possible to use them in Tomcat or it is necessary JBoss? I want to find a free hosting and if it is difficult to find in TomI tcat... I don't want to think in JBoss...
> >> >
> >> > Regards,
> >> > Francisco
> >> >
> >> >> From: mgainty@hotmail.com
> >> >> To: user@struts.apache.org
> >> >> Subject: RE: Doubts about new project (Struts2 good way to do it?)
> >> >> Date: Thu, 4 Jun 2009 15:43:55 -0400
> >> >>
> >> >>
> >> >> Good Afternoon Francisco
> >> >> i have an opinion on the subject which i would be more than happy to share with you
> >> >>
> >> >> > 1) User preferences: every user can configure its "window" and
> >> >> maintain its configuration after save preferences and log in again. The
> >> >> user can select options from a list and position them where he wants.
> >> >> ¿Maybe using portlets?¿Changing css dinamically depending on logged
> >> >> user?¿Any other option?
> >> >> MG>JetSpeed..tried and true Principal assignment to User,Group
> >> >> http://portals.apache.org/jetspeed-2/
> >> >>
> >> >> > 2) Languages: every user can
> >> >> access in some languages. As I've tested, the language is configured
> >> >> with regional settings. But it is possible to select the language in
> >> >> the login page and maintain it during the session?
> >> >> MG>simple as setting request_locate to en requst_locale=es
> >> >> MG>http://struts.apache.org/2.1.6/docs/how-do-we-change-locales.html
> >> >> >
> >> >> > 3) Persistence layer: better Hibernate or iBatis? About performance?
> >> >> MG>I think hibernate has more deploys be aware of lazy_init not creating all dependent objects in object graph
> >> >> https://www.hibernate.org/162.html
> >> >> >
> >> >> > 4) E-commerce: shop cart, what about security?
> >> >> MG>SSL all the way..dont send cleartext for anything unless you want mailicious eavesdropper intervention!
> >> >> http://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html
> >> >> MG>i can give you SSL solutions for OAS, WL, Resin, JBOSS if you need it
> >> >> >
> >> >> > 5) Sitemesh or Tiles? I've used tiles and it is ok, but the xml are too long. About performance?
> >> >> MG>Sitemesh is the css handler that is preconfigured for Struts
> >> >>     <filter>
> >> >>         <filter-name>sitemesh</filter-name>
> >> >>         <filter-class>com.opensymphony.module.sitemesh.filter.PageFilter</filter-class>
> >> >>     </filter>
> >> >>     <filter-mapping>
> >> >>         <filter-name>sitemesh</filter-name>
> >> >>         <url-pattern>/*</url-pattern>
> >> >>     </filter-mapping>
> >> >>
> >> >> MG>if you like using VM macros coded thru SiteMesh then enable VelocityPageFilter in web.xml
> >> >>         <filter>
> >> >>             <filter-name>sitemesh</filter-name>
> >> >>             <filter-class>org.apache.struts2.sitemesh.VelocityPageFilter</filter-class>
> >> >>         </filter>
> >> >>         <filter-mapping>
> >> >>             <filter-name>sitemesh</filter-name>
> >> >>             <url-pattern>/*</url-pattern>
> >> >>         </filter-mapping>
> >> >>
> >> >> and for freemarker
> >> >>     <filter>
> >> >>         <filter-name>sitemesh</filter-name>
> >> >>         <filter-class>org.apache.struts2.sitemesh.FreeMarkerPageFilter</filter-class>
> >> >>     </filter>
> >> >>         <filter-mapping>
> >> >>
> >> >>             <filter-name>sitemesh</filter-name>
> >> >>
> >> >>             <url-pattern>/*</url-pattern>
> >> >>
> >> >>         </filter-mapping>
> >> >>
> >> >>
> >> >> Saludos Cordiales desde EEUU!
> >> >> Martin
> >> >> GMT+5(esta semana)
> >> >> >
> >> >> >
> >> >> >
> >> >> > The options I've considered are:
> >> >> >
> >> >> > Tomcat, MySQL, Struts2 with Spring IOC and open in view filter, Sitemesh or Tiles, Hibernate or iBatis, Portlets.
> >> >> >
> >> >> > Other option is use JSF. Which selection do you think would be better?
> >> >> >
> >> >>
> >> >>
> >> >> Martin Gainty
> >> >> ______________________________________________
> >> >> Jogi és Bizalmassági kinyilatkoztatás/Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
> >> >>  Ez az
> >> >> üzenet bizalmas.  Ha nem ön az akinek szánva volt, akkor kérjük, hogy
> >> >> jelentse azt nekünk vissza. Semmiféle továbbítása vagy másolatának
> >> >> készítése nem megengedett.  Ez az üzenet csak ismeret cserét szolgál és
> >> >> semmiféle jogi alkalmazhatósága sincs.  Mivel az electronikus üzenetek
> >> >> könnyen megváltoztathatóak, ezért minket semmi felelöség nem terhelhet
> >> >> ezen üzenet tartalma miatt.
> >> >>
> >> >> Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
> >> >> Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.
> >> >>
> >> >>
> >> >>
> >> >>
> >> >> > From: fcoexposito@hotmail.com
> >> >> > To: user@struts.apache.org
> >> >> > Subject: Doubts about new project (Struts2 good way to do it?)
> >> >> > Date: Thu, 4 Jun 2009 15:45:09 +0000
> >> >> >
> >> >> >
> >> >> > Hello,
> >> >> >
> >> >> > I want to create a portal with this functionalities, and I don't know if it is possible to do it using Struts2 or what is better for it:
> >> >> >
> >> >> > 1) User preferences: every user can configure its "window" and maintain its configuration after save preferences and log in again. The user can select options from a list and position them where he wants. ¿Maybe using portlets?¿Changing css dinamically depending on logged user?¿Any other option?
> >> >> >
> >> >> > 2) Languages: every user can access in some languages. As I've tested, the language is configured with regional settings. But it is possible to select the language in the login page and maintain it during the session?
> >> >> >
> >> >> > 3) Persistence layer: better Hibernate or iBatis? About performance?
> >> >> >
> >> >> > 4) E-commerce: shop cart, what about security?
> >> >> >
> >> >> > 5) Sitemesh or Tiles? I've used tiles and it is ok, but the xml are too long. About performance?
> >> >> >
> >> >> >
> >> >> >
> >> >> > The options I've considered are:
> >> >> >
> >> >> > Tomcat, MySQL, Struts2 with Spring IOC and open in view filter, Sitemesh or Tiles, Hibernate or iBatis, Portlets.
> >> >> >
> >> >> > Other option is use JSF. Which selection do you think would be better?
> >> >> >
> >> >> > Thanks in advance.
> >> >> >
> >> >> > Francisco
> >> >> >
> >> >> > _________________________________________________________________
> >> >> > Chatea sin límites en Messenger con la tarifa plana de Orange
> >> >> > http://serviciosmoviles.es.msn.com/messenger/orange.aspx
> >> >>
> >> >> _________________________________________________________________
> >> >> Lauren found her dream laptop. Find the PC that’s right for you.
> >> >> http://www.microsoft.com/windows/choosepc/?ocid=ftp_val_wl_290
> >> >
> >> > _________________________________________________________________
> >> > Llévate Messenger en el móvil a todas partes ¡Conéctate!
> >> > http://www.microsoft.com/spain/windowsmobile/messenger/default.mspx
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> >> For additional commands, e-mail: user-help@struts.apache.org
> >>
> >
> > _________________________________________________________________
> > Llévate Messenger en el móvil a todas partes ¡Conéctate!
> > http://www.microsoft.com/spain/windowsmobile/messenger/default.mspx
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 

_________________________________________________________________
¿Quieres ver los mejores videos de MSN? Enciende Messenger TV
http://messengertv.msn.com/mkt/es-es/default.htm

Re: Doubts about new project (Struts2 good way to do it?)

Posted by Nils-Helge Garli Hegvik <ni...@gmail.com>.
> could you elaborate on how JetSpeed is not JSR-168 compliant?
>
> thanks,
> Martin Gainty

You have to start actually reading the posts you're replying to. I
said nowhere that JetSpeed is not JSR-168 compliant. And please, keep
discussions on the list.

Nils-H

>
>
>> Date: Mon, 8 Jun 2009 13:00:07 +0200
>> Subject: Re: Doubts about new project (Struts2 good way to do it?)
>> From: nilsga@gmail.com
>> To: user@struts.apache.org
>>
>> Jetspeed2 - No, JSR168 portlets - Yes. You should be aware of the
>> features and limitations of portlets though. It might not necessarily
>> be what you're looking for. I suggest digging a bit deeper into the
>> topic if you're considering using it.
>>
>> Nils-H
>>
>> On Mon, Jun 8, 2009 at 9:05 AM, Francisco
>> Exposito<fc...@hotmail.com> wrote:
>> >
>> > Has anyone an example of jetspeed2 + struts2?
>> >
>> >> Date: Fri, 5 Jun 2009 14:24:28 +0200
>> >> Subject: Re: Doubts about new project (Struts2 good way to do it?)
>> >> From: poulwiel@gmail.com
>> >> To: user@struts.apache.org
>> >>
>> >> Hi Francisco,
>> >> free hosting for java can be a hard one to find,
>> >> i don't know or heard of any.
>> >>
>> >> Best greetings,
>> >> Paweł Wielgus.
>> >>
>> >>
>> >> 2009/6/5 Francisco Exposito <fc...@hotmail.com>:
>> >> >
>> >> > I've read that jetspeed2 documentation is poor... do you have an
>> >> > example about jetspeed2 + struts2?
>> >> >
>> >> > Then, is it possible to create a project using:
>> >> >
>> >> > Struts2, Jetspeed2, Spring plugin, Hibernate and Sitemesh? or
>> >> > jetspeed is not compatible with the other? And what about the performance?
>> >> > Could it be ok using all that? And is it possible to use them in Tomcat or
>> >> > it is necessary JBoss? I want to find a free hosting and if it is difficult
>> >> > to find in TomI tcat... I don't want to think in JBoss...
>> >> >
>> >> > Regards,
>> >> > Francisco
>> >> >
>> >> >> From: mgainty@hotmail.com
>> >> >> To: user@struts.apache.org
>> >> >> Subject: RE: Doubts about new project (Struts2 good way to do it?)
>> >> >> Date: Thu, 4 Jun 2009 15:43:55 -0400
>> >> >>
>> >> >>
>> >> >> Good Afternoon Francisco
>> >> >> i have an opinion on the subject which i would be more than happy to
>> >> >> share with you
>> >> >>
>> >> >> > 1) User preferences: every user can configure its "window" and
>> >> >> maintain its configuration after save preferences and log in again.
>> >> >> The
>> >> >> user can select options from a list and position them where he
>> >> >> wants.
>> >> >> ¿Maybe using portlets?¿Changing css dinamically depending on logged
>> >> >> user?¿Any other option?
>> >> >> MG>JetSpeed..tried and true Principal assignment to User,Group
>> >> >> http://portals.apache.org/jetspeed-2/
>> >> >>
>> >> >> > 2) Languages: every user can
>> >> >> access in some languages. As I've tested, the language is configured
>> >> >> with regional settings. But it is possible to select the language in
>> >> >> the login page and maintain it during the session?
>> >> >> MG>simple as setting request_locate to en requst_locale=es
>> >> >> MG>http://struts.apache.org/2.1.6/docs/how-do-we-change-locales.html
>> >> >> >
>> >> >> > 3) Persistence layer: better Hibernate or iBatis? About
>> >> >> > performance?
>> >> >> MG>I think hibernate has more deploys be aware of lazy_init not
>> >> >> creating all dependent objects in object graph
>> >> >> https://www.hibernate.org/162.html
>> >> >> >
>> >> >> > 4) E-commerce: shop cart, what about security?
>> >> >> MG>SSL all the way..dont send cleartext for anything unless you want
>> >> >> mailicious eavesdropper intervention!
>> >> >> http://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html
>> >> >> MG>i can give you SSL solutions for OAS, WL, Resin, JBOSS if you
>> >> >> need it
>> >> >> >
>> >> >> > 5) Sitemesh or Tiles? I've used tiles and it is ok, but the xml
>> >> >> > are too long. About performance?
>> >> >> MG>Sitemesh is the css handler that is preconfigured for Struts
>> >> >>     <filter>
>> >> >>         <filter-name>sitemesh</filter-name>
>> >> >>
>> >> >> <filter-class>com.opensymphony.module.sitemesh.filter.PageFilter</filter-class>
>> >> >>     </filter>
>> >> >>     <filter-mapping>
>> >> >>         <filter-name>sitemesh</filter-name>
>> >> >>         <url-pattern>/*</url-pattern>
>> >> >>     </filter-mapping>
>> >> >>
>> >> >> MG>if you like using VM macros coded thru SiteMesh then enable
>> >> >> VelocityPageFilter in web.xml
>> >> >>         <filter>
>> >> >>             <filter-name>sitemesh</filter-name>
>> >> >>
>> >> >> <filter-class>org.apache.struts2.sitemesh.VelocityPageFilter</filter-class>
>> >> >>         </filter>
>> >> >>         <filter-mapping>
>> >> >>             <filter-name>sitemesh</filter-name>
>> >> >>             <url-pattern>/*</url-pattern>
>> >> >>         </filter-mapping>
>> >> >>
>> >> >> and for freemarker
>> >> >>     <filter>
>> >> >>         <filter-name>sitemesh</filter-name>
>> >> >>
>> >> >> <filter-class>org.apache.struts2.sitemesh.FreeMarkerPageFilter</filter-class>
>> >> >>     </filter>
>> >> >>         <filter-mapping>
>> >> >>
>> >> >>             <filter-name>sitemesh</filter-name>
>> >> >>
>> >> >>             <url-pattern>/*</url-pattern>
>> >> >>
>> >> >>         </filter-mapping>
>> >> >>
>> >> >>
>> >> >> Saludos Cordiales desde EEUU!
>> >> >> Martin
>> >> >> GMT+5(esta semana)
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > The options I've considered are:
>> >> >> >
>> >> >> > Tomcat, MySQL, Struts2 with Spring IOC and open in view filter,
>> >> >> > Sitemesh or Tiles, Hibernate or iBatis, Portlets.
>> >> >> >
>> >> >> > Other option is use JSF. Which selection do you think would be
>> >> >> > better?
>> >> >> >
>> >> >>
>> >> >>
>> >> >> Martin Gainty
>> >> >> ______________________________________________
>> >> >> Jogi és Bizalmassági kinyilatkoztatás/Verzicht und
>> >> >> Vertraulichkeitanmerkung/Note de déni et de confidentialité
>> >> >>  Ez az
>> >> >> üzenet bizalmas.  Ha nem ön az akinek szánva volt, akkor kérjük,
>> >> >> hogy
>> >> >> jelentse azt nekünk vissza. Semmiféle továbbítása vagy másolatának
>> >> >> készítése nem megengedett.  Ez az üzenet csak ismeret cserét szolgál
>> >> >> és
>> >> >> semmiféle jogi alkalmazhatósága sincs.  Mivel az electronikus
>> >> >> üzenetek
>> >> >> könnyen megváltoztathatóak, ezért minket semmi felelöség nem
>> >> >> terhelhet
>> >> >> ezen üzenet tartalma miatt.
>> >> >>
>> >> >> Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene
>> >> >> Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte
>> >> >> Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht
>> >> >> dient lediglich dem Austausch von Informationen und entfaltet keine
>> >> >> rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von
>> >> >> E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
>> >> >> Ce message est confidentiel et peut être privilégié. Si vous n'êtes
>> >> >> pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire
>> >> >> informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie
>> >> >> de ceci est interdite. Ce message sert à l'information seulement et n'aura
>> >> >> pas n'importe quel effet légalement obligatoire. Étant donné que les email
>> >> >> peuvent facilement être sujets à la manipulation, nous ne pouvons accepter
>> >> >> aucune responsabilité pour le contenu fourni.
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >> > From: fcoexposito@hotmail.com
>> >> >> > To: user@struts.apache.org
>> >> >> > Subject: Doubts about new project (Struts2 good way to do it?)
>> >> >> > Date: Thu, 4 Jun 2009 15:45:09 +0000
>> >> >> >
>> >> >> >
>> >> >> > Hello,
>> >> >> >
>> >> >> > I want to create a portal with this functionalities, and I don't
>> >> >> > know if it is possible to do it using Struts2 or what is better for it:
>> >> >> >
>> >> >> > 1) User preferences: every user can configure its "window" and
>> >> >> > maintain its configuration after save preferences and log in again. The user
>> >> >> > can select options from a list and position them where he wants. ¿Maybe
>> >> >> > using portlets?¿Changing css dinamically depending on logged user?¿Any other
>> >> >> > option?
>> >> >> >
>> >> >> > 2) Languages: every user can access in some languages. As I've
>> >> >> > tested, the language is configured with regional settings. But it is
>> >> >> > possible to select the language in the login page and maintain it during the
>> >> >> > session?
>> >> >> >
>> >> >> > 3) Persistence layer: better Hibernate or iBatis? About
>> >> >> > performance?
>> >> >> >
>> >> >> > 4) E-commerce: shop cart, what about security?
>> >> >> >
>> >> >> > 5) Sitemesh or Tiles? I've used tiles and it is ok, but the xml
>> >> >> > are too long. About performance?
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > The options I've considered are:
>> >> >> >
>> >> >> > Tomcat, MySQL, Struts2 with Spring IOC and open in view filter,
>> >> >> > Sitemesh or Tiles, Hibernate or iBatis, Portlets.
>> >> >> >
>> >> >> > Other option is use JSF. Which selection do you think would be
>> >> >> > better?
>> >> >> >
>> >> >> > Thanks in advance.
>> >> >> >
>> >> >> > Francisco
>> >> >> >
>> >> >> > _________________________________________________________________
>> >> >> > Chatea sin límites en Messenger con la tarifa plana de Orange
>> >> >> > http://serviciosmoviles.es.msn.com/messenger/orange.aspx
>> >> >>
>> >> >> _________________________________________________________________
>> >> >> Lauren found her dream laptop. Find the PC that’s right for you.
>> >> >> http://www.microsoft.com/windows/choosepc/?ocid=ftp_val_wl_290
>> >> >
>> >> > _________________________________________________________________
>> >> > Llévate Messenger en el móvil a todas partes ¡Conéctate!
>> >> > http://www.microsoft.com/spain/windowsmobile/messenger/default.mspx
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> >> For additional commands, e-mail: user-help@struts.apache.org
>> >>
>> >
>> > _________________________________________________________________
>> > Llévate Messenger en el móvil a todas partes ¡Conéctate!
>> > http://www.microsoft.com/spain/windowsmobile/messenger/default.mspx
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>
> ________________________________
> Windows Live™ SkyDrive™: Get 25 GB of free online storage. Get it on your
> BlackBerry or iPhone.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Doubts about new project (Struts2 good way to do it?)

Posted by Nils-Helge Garli Hegvik <ni...@gmail.com>.
Jetspeed2 - No, JSR168 portlets - Yes. You should be aware of the
features and limitations of portlets though. It might not necessarily
be what you're looking for. I suggest digging a bit deeper into the
topic if you're considering using it.

Nils-H

On Mon, Jun 8, 2009 at 9:05 AM, Francisco
Exposito<fc...@hotmail.com> wrote:
>
> Has anyone an example of jetspeed2 + struts2?
>
>> Date: Fri, 5 Jun 2009 14:24:28 +0200
>> Subject: Re: Doubts about new project (Struts2 good way to do it?)
>> From: poulwiel@gmail.com
>> To: user@struts.apache.org
>>
>> Hi Francisco,
>> free hosting for java can be a hard one to find,
>> i don't know or heard of any.
>>
>> Best greetings,
>> Paweł Wielgus.
>>
>>
>> 2009/6/5 Francisco Exposito <fc...@hotmail.com>:
>> >
>> > I've read that jetspeed2 documentation is poor... do you have an example about jetspeed2 + struts2?
>> >
>> > Then, is it possible to create a project using:
>> >
>> > Struts2, Jetspeed2, Spring plugin, Hibernate and Sitemesh? or jetspeed is not compatible with the other? And what about the performance? Could it be ok using all that? And is it possible to use them in Tomcat or it is necessary JBoss? I want to find a free hosting and if it is difficult to find in TomI tcat... I don't want to think in JBoss...
>> >
>> > Regards,
>> > Francisco
>> >
>> >> From: mgainty@hotmail.com
>> >> To: user@struts.apache.org
>> >> Subject: RE: Doubts about new project (Struts2 good way to do it?)
>> >> Date: Thu, 4 Jun 2009 15:43:55 -0400
>> >>
>> >>
>> >> Good Afternoon Francisco
>> >> i have an opinion on the subject which i would be more than happy to share with you
>> >>
>> >> > 1) User preferences: every user can configure its "window" and
>> >> maintain its configuration after save preferences and log in again. The
>> >> user can select options from a list and position them where he wants.
>> >> ¿Maybe using portlets?¿Changing css dinamically depending on logged
>> >> user?¿Any other option?
>> >> MG>JetSpeed..tried and true Principal assignment to User,Group
>> >> http://portals.apache.org/jetspeed-2/
>> >>
>> >> > 2) Languages: every user can
>> >> access in some languages. As I've tested, the language is configured
>> >> with regional settings. But it is possible to select the language in
>> >> the login page and maintain it during the session?
>> >> MG>simple as setting request_locate to en requst_locale=es
>> >> MG>http://struts.apache.org/2.1.6/docs/how-do-we-change-locales.html
>> >> >
>> >> > 3) Persistence layer: better Hibernate or iBatis? About performance?
>> >> MG>I think hibernate has more deploys be aware of lazy_init not creating all dependent objects in object graph
>> >> https://www.hibernate.org/162.html
>> >> >
>> >> > 4) E-commerce: shop cart, what about security?
>> >> MG>SSL all the way..dont send cleartext for anything unless you want mailicious eavesdropper intervention!
>> >> http://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html
>> >> MG>i can give you SSL solutions for OAS, WL, Resin, JBOSS if you need it
>> >> >
>> >> > 5) Sitemesh or Tiles? I've used tiles and it is ok, but the xml are too long. About performance?
>> >> MG>Sitemesh is the css handler that is preconfigured for Struts
>> >>     <filter>
>> >>         <filter-name>sitemesh</filter-name>
>> >>         <filter-class>com.opensymphony.module.sitemesh.filter.PageFilter</filter-class>
>> >>     </filter>
>> >>     <filter-mapping>
>> >>         <filter-name>sitemesh</filter-name>
>> >>         <url-pattern>/*</url-pattern>
>> >>     </filter-mapping>
>> >>
>> >> MG>if you like using VM macros coded thru SiteMesh then enable VelocityPageFilter in web.xml
>> >>         <filter>
>> >>             <filter-name>sitemesh</filter-name>
>> >>             <filter-class>org.apache.struts2.sitemesh.VelocityPageFilter</filter-class>
>> >>         </filter>
>> >>         <filter-mapping>
>> >>             <filter-name>sitemesh</filter-name>
>> >>             <url-pattern>/*</url-pattern>
>> >>         </filter-mapping>
>> >>
>> >> and for freemarker
>> >>     <filter>
>> >>         <filter-name>sitemesh</filter-name>
>> >>         <filter-class>org.apache.struts2.sitemesh.FreeMarkerPageFilter</filter-class>
>> >>     </filter>
>> >>         <filter-mapping>
>> >>
>> >>             <filter-name>sitemesh</filter-name>
>> >>
>> >>             <url-pattern>/*</url-pattern>
>> >>
>> >>         </filter-mapping>
>> >>
>> >>
>> >> Saludos Cordiales desde EEUU!
>> >> Martin
>> >> GMT+5(esta semana)
>> >> >
>> >> >
>> >> >
>> >> > The options I've considered are:
>> >> >
>> >> > Tomcat, MySQL, Struts2 with Spring IOC and open in view filter, Sitemesh or Tiles, Hibernate or iBatis, Portlets.
>> >> >
>> >> > Other option is use JSF. Which selection do you think would be better?
>> >> >
>> >>
>> >>
>> >> Martin Gainty
>> >> ______________________________________________
>> >> Jogi és Bizalmassági kinyilatkoztatás/Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
>> >>  Ez az
>> >> üzenet bizalmas.  Ha nem ön az akinek szánva volt, akkor kérjük, hogy
>> >> jelentse azt nekünk vissza. Semmiféle továbbítása vagy másolatának
>> >> készítése nem megengedett.  Ez az üzenet csak ismeret cserét szolgál és
>> >> semmiféle jogi alkalmazhatósága sincs.  Mivel az electronikus üzenetek
>> >> könnyen megváltoztathatóak, ezért minket semmi felelöség nem terhelhet
>> >> ezen üzenet tartalma miatt.
>> >>
>> >> Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
>> >> Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.
>> >>
>> >>
>> >>
>> >>
>> >> > From: fcoexposito@hotmail.com
>> >> > To: user@struts.apache.org
>> >> > Subject: Doubts about new project (Struts2 good way to do it?)
>> >> > Date: Thu, 4 Jun 2009 15:45:09 +0000
>> >> >
>> >> >
>> >> > Hello,
>> >> >
>> >> > I want to create a portal with this functionalities, and I don't know if it is possible to do it using Struts2 or what is better for it:
>> >> >
>> >> > 1) User preferences: every user can configure its "window" and maintain its configuration after save preferences and log in again. The user can select options from a list and position them where he wants. ¿Maybe using portlets?¿Changing css dinamically depending on logged user?¿Any other option?
>> >> >
>> >> > 2) Languages: every user can access in some languages. As I've tested, the language is configured with regional settings. But it is possible to select the language in the login page and maintain it during the session?
>> >> >
>> >> > 3) Persistence layer: better Hibernate or iBatis? About performance?
>> >> >
>> >> > 4) E-commerce: shop cart, what about security?
>> >> >
>> >> > 5) Sitemesh or Tiles? I've used tiles and it is ok, but the xml are too long. About performance?
>> >> >
>> >> >
>> >> >
>> >> > The options I've considered are:
>> >> >
>> >> > Tomcat, MySQL, Struts2 with Spring IOC and open in view filter, Sitemesh or Tiles, Hibernate or iBatis, Portlets.
>> >> >
>> >> > Other option is use JSF. Which selection do you think would be better?
>> >> >
>> >> > Thanks in advance.
>> >> >
>> >> > Francisco
>> >> >
>> >> > _________________________________________________________________
>> >> > Chatea sin límites en Messenger con la tarifa plana de Orange
>> >> > http://serviciosmoviles.es.msn.com/messenger/orange.aspx
>> >>
>> >> _________________________________________________________________
>> >> Lauren found her dream laptop. Find the PC that’s right for you.
>> >> http://www.microsoft.com/windows/choosepc/?ocid=ftp_val_wl_290
>> >
>> > _________________________________________________________________
>> > Llévate Messenger en el móvil a todas partes ¡Conéctate!
>> > http://www.microsoft.com/spain/windowsmobile/messenger/default.mspx
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>
> _________________________________________________________________
> Llévate Messenger en el móvil a todas partes ¡Conéctate!
> http://www.microsoft.com/spain/windowsmobile/messenger/default.mspx

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


RE: Doubts about new project (Struts2 good way to do it?)

Posted by Francisco Exposito <fc...@hotmail.com>.
Has anyone an example of jetspeed2 + struts2?

> Date: Fri, 5 Jun 2009 14:24:28 +0200
> Subject: Re: Doubts about new project (Struts2 good way to do it?)
> From: poulwiel@gmail.com
> To: user@struts.apache.org
> 
> Hi Francisco,
> free hosting for java can be a hard one to find,
> i don't know or heard of any.
> 
> Best greetings,
> Paweł Wielgus.
> 
> 
> 2009/6/5 Francisco Exposito <fc...@hotmail.com>:
> >
> > I've read that jetspeed2 documentation is poor... do you have an example about jetspeed2 + struts2?
> >
> > Then, is it possible to create a project using:
> >
> > Struts2, Jetspeed2, Spring plugin, Hibernate and Sitemesh? or jetspeed is not compatible with the other? And what about the performance? Could it be ok using all that? And is it possible to use them in Tomcat or it is necessary JBoss? I want to find a free hosting and if it is difficult to find in TomI tcat... I don't want to think in JBoss...
> >
> > Regards,
> > Francisco
> >
> >> From: mgainty@hotmail.com
> >> To: user@struts.apache.org
> >> Subject: RE: Doubts about new project (Struts2 good way to do it?)
> >> Date: Thu, 4 Jun 2009 15:43:55 -0400
> >>
> >>
> >> Good Afternoon Francisco
> >> i have an opinion on the subject which i would be more than happy to share with you
> >>
> >> > 1) User preferences: every user can configure its "window" and
> >> maintain its configuration after save preferences and log in again. The
> >> user can select options from a list and position them where he wants.
> >> ¿Maybe using portlets?¿Changing css dinamically depending on logged
> >> user?¿Any other option?
> >> MG>JetSpeed..tried and true Principal assignment to User,Group
> >> http://portals.apache.org/jetspeed-2/
> >>
> >> > 2) Languages: every user can
> >> access in some languages. As I've tested, the language is configured
> >> with regional settings. But it is possible to select the language in
> >> the login page and maintain it during the session?
> >> MG>simple as setting request_locate to en requst_locale=es
> >> MG>http://struts.apache.org/2.1.6/docs/how-do-we-change-locales.html
> >> >
> >> > 3) Persistence layer: better Hibernate or iBatis? About performance?
> >> MG>I think hibernate has more deploys be aware of lazy_init not creating all dependent objects in object graph
> >> https://www.hibernate.org/162.html
> >> >
> >> > 4) E-commerce: shop cart, what about security?
> >> MG>SSL all the way..dont send cleartext for anything unless you want mailicious eavesdropper intervention!
> >> http://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html
> >> MG>i can give you SSL solutions for OAS, WL, Resin, JBOSS if you need it
> >> >
> >> > 5) Sitemesh or Tiles? I've used tiles and it is ok, but the xml are too long. About performance?
> >> MG>Sitemesh is the css handler that is preconfigured for Struts
> >>     <filter>
> >>         <filter-name>sitemesh</filter-name>
> >>         <filter-class>com.opensymphony.module.sitemesh.filter.PageFilter</filter-class>
> >>     </filter>
> >>     <filter-mapping>
> >>         <filter-name>sitemesh</filter-name>
> >>         <url-pattern>/*</url-pattern>
> >>     </filter-mapping>
> >>
> >> MG>if you like using VM macros coded thru SiteMesh then enable VelocityPageFilter in web.xml
> >>         <filter>
> >>             <filter-name>sitemesh</filter-name>
> >>             <filter-class>org.apache.struts2.sitemesh.VelocityPageFilter</filter-class>
> >>         </filter>
> >>         <filter-mapping>
> >>             <filter-name>sitemesh</filter-name>
> >>             <url-pattern>/*</url-pattern>
> >>         </filter-mapping>
> >>
> >> and for freemarker
> >>     <filter>
> >>         <filter-name>sitemesh</filter-name>
> >>         <filter-class>org.apache.struts2.sitemesh.FreeMarkerPageFilter</filter-class>
> >>     </filter>
> >>         <filter-mapping>
> >>
> >>             <filter-name>sitemesh</filter-name>
> >>
> >>             <url-pattern>/*</url-pattern>
> >>
> >>         </filter-mapping>
> >>
> >>
> >> Saludos Cordiales desde EEUU!
> >> Martin
> >> GMT+5(esta semana)
> >> >
> >> >
> >> >
> >> > The options I've considered are:
> >> >
> >> > Tomcat, MySQL, Struts2 with Spring IOC and open in view filter, Sitemesh or Tiles, Hibernate or iBatis, Portlets.
> >> >
> >> > Other option is use JSF. Which selection do you think would be better?
> >> >
> >>
> >>
> >> Martin Gainty
> >> ______________________________________________
> >> Jogi és Bizalmassági kinyilatkoztatás/Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
> >>  Ez az
> >> üzenet bizalmas.  Ha nem ön az akinek szánva volt, akkor kérjük, hogy
> >> jelentse azt nekünk vissza. Semmiféle továbbítása vagy másolatának
> >> készítése nem megengedett.  Ez az üzenet csak ismeret cserét szolgál és
> >> semmiféle jogi alkalmazhatósága sincs.  Mivel az electronikus üzenetek
> >> könnyen megváltoztathatóak, ezért minket semmi felelöség nem terhelhet
> >> ezen üzenet tartalma miatt.
> >>
> >> Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
> >> Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.
> >>
> >>
> >>
> >>
> >> > From: fcoexposito@hotmail.com
> >> > To: user@struts.apache.org
> >> > Subject: Doubts about new project (Struts2 good way to do it?)
> >> > Date: Thu, 4 Jun 2009 15:45:09 +0000
> >> >
> >> >
> >> > Hello,
> >> >
> >> > I want to create a portal with this functionalities, and I don't know if it is possible to do it using Struts2 or what is better for it:
> >> >
> >> > 1) User preferences: every user can configure its "window" and maintain its configuration after save preferences and log in again. The user can select options from a list and position them where he wants. ¿Maybe using portlets?¿Changing css dinamically depending on logged user?¿Any other option?
> >> >
> >> > 2) Languages: every user can access in some languages. As I've tested, the language is configured with regional settings. But it is possible to select the language in the login page and maintain it during the session?
> >> >
> >> > 3) Persistence layer: better Hibernate or iBatis? About performance?
> >> >
> >> > 4) E-commerce: shop cart, what about security?
> >> >
> >> > 5) Sitemesh or Tiles? I've used tiles and it is ok, but the xml are too long. About performance?
> >> >
> >> >
> >> >
> >> > The options I've considered are:
> >> >
> >> > Tomcat, MySQL, Struts2 with Spring IOC and open in view filter, Sitemesh or Tiles, Hibernate or iBatis, Portlets.
> >> >
> >> > Other option is use JSF. Which selection do you think would be better?
> >> >
> >> > Thanks in advance.
> >> >
> >> > Francisco
> >> >
> >> > _________________________________________________________________
> >> > Chatea sin límites en Messenger con la tarifa plana de Orange
> >> > http://serviciosmoviles.es.msn.com/messenger/orange.aspx
> >>
> >> _________________________________________________________________
> >> Lauren found her dream laptop. Find the PC that’s right for you.
> >> http://www.microsoft.com/windows/choosepc/?ocid=ftp_val_wl_290
> >
> > _________________________________________________________________
> > Llévate Messenger en el móvil a todas partes ¡Conéctate!
> > http://www.microsoft.com/spain/windowsmobile/messenger/default.mspx
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 

_________________________________________________________________
Llévate Messenger en el móvil a todas partes ¡Conéctate!
http://www.microsoft.com/spain/windowsmobile/messenger/default.mspx

Re: Doubts about new project (Struts2 good way to do it?)

Posted by Paweł Wielgus <po...@gmail.com>.
Hi Francisco,
free hosting for java can be a hard one to find,
i don't know or heard of any.

Best greetings,
Paweł Wielgus.


2009/6/5 Francisco Exposito <fc...@hotmail.com>:
>
> I've read that jetspeed2 documentation is poor... do you have an example about jetspeed2 + struts2?
>
> Then, is it possible to create a project using:
>
> Struts2, Jetspeed2, Spring plugin, Hibernate and Sitemesh? or jetspeed is not compatible with the other? And what about the performance? Could it be ok using all that? And is it possible to use them in Tomcat or it is necessary JBoss? I want to find a free hosting and if it is difficult to find in TomI tcat... I don't want to think in JBoss...
>
> Regards,
> Francisco
>
>> From: mgainty@hotmail.com
>> To: user@struts.apache.org
>> Subject: RE: Doubts about new project (Struts2 good way to do it?)
>> Date: Thu, 4 Jun 2009 15:43:55 -0400
>>
>>
>> Good Afternoon Francisco
>> i have an opinion on the subject which i would be more than happy to share with you
>>
>> > 1) User preferences: every user can configure its "window" and
>> maintain its configuration after save preferences and log in again. The
>> user can select options from a list and position them where he wants.
>> ¿Maybe using portlets?¿Changing css dinamically depending on logged
>> user?¿Any other option?
>> MG>JetSpeed..tried and true Principal assignment to User,Group
>> http://portals.apache.org/jetspeed-2/
>>
>> > 2) Languages: every user can
>> access in some languages. As I've tested, the language is configured
>> with regional settings. But it is possible to select the language in
>> the login page and maintain it during the session?
>> MG>simple as setting request_locate to en requst_locale=es
>> MG>http://struts.apache.org/2.1.6/docs/how-do-we-change-locales.html
>> >
>> > 3) Persistence layer: better Hibernate or iBatis? About performance?
>> MG>I think hibernate has more deploys be aware of lazy_init not creating all dependent objects in object graph
>> https://www.hibernate.org/162.html
>> >
>> > 4) E-commerce: shop cart, what about security?
>> MG>SSL all the way..dont send cleartext for anything unless you want mailicious eavesdropper intervention!
>> http://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html
>> MG>i can give you SSL solutions for OAS, WL, Resin, JBOSS if you need it
>> >
>> > 5) Sitemesh or Tiles? I've used tiles and it is ok, but the xml are too long. About performance?
>> MG>Sitemesh is the css handler that is preconfigured for Struts
>>     <filter>
>>         <filter-name>sitemesh</filter-name>
>>         <filter-class>com.opensymphony.module.sitemesh.filter.PageFilter</filter-class>
>>     </filter>
>>     <filter-mapping>
>>         <filter-name>sitemesh</filter-name>
>>         <url-pattern>/*</url-pattern>
>>     </filter-mapping>
>>
>> MG>if you like using VM macros coded thru SiteMesh then enable VelocityPageFilter in web.xml
>>         <filter>
>>             <filter-name>sitemesh</filter-name>
>>             <filter-class>org.apache.struts2.sitemesh.VelocityPageFilter</filter-class>
>>         </filter>
>>         <filter-mapping>
>>             <filter-name>sitemesh</filter-name>
>>             <url-pattern>/*</url-pattern>
>>         </filter-mapping>
>>
>> and for freemarker
>>     <filter>
>>         <filter-name>sitemesh</filter-name>
>>         <filter-class>org.apache.struts2.sitemesh.FreeMarkerPageFilter</filter-class>
>>     </filter>
>>         <filter-mapping>
>>
>>             <filter-name>sitemesh</filter-name>
>>
>>             <url-pattern>/*</url-pattern>
>>
>>         </filter-mapping>
>>
>>
>> Saludos Cordiales desde EEUU!
>> Martin
>> GMT+5(esta semana)
>> >
>> >
>> >
>> > The options I've considered are:
>> >
>> > Tomcat, MySQL, Struts2 with Spring IOC and open in view filter, Sitemesh or Tiles, Hibernate or iBatis, Portlets.
>> >
>> > Other option is use JSF. Which selection do you think would be better?
>> >
>>
>>
>> Martin Gainty
>> ______________________________________________
>> Jogi és Bizalmassági kinyilatkoztatás/Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
>>  Ez az
>> üzenet bizalmas.  Ha nem ön az akinek szánva volt, akkor kérjük, hogy
>> jelentse azt nekünk vissza. Semmiféle továbbítása vagy másolatának
>> készítése nem megengedett.  Ez az üzenet csak ismeret cserét szolgál és
>> semmiféle jogi alkalmazhatósága sincs.  Mivel az electronikus üzenetek
>> könnyen megváltoztathatóak, ezért minket semmi felelöség nem terhelhet
>> ezen üzenet tartalma miatt.
>>
>> Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
>> Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.
>>
>>
>>
>>
>> > From: fcoexposito@hotmail.com
>> > To: user@struts.apache.org
>> > Subject: Doubts about new project (Struts2 good way to do it?)
>> > Date: Thu, 4 Jun 2009 15:45:09 +0000
>> >
>> >
>> > Hello,
>> >
>> > I want to create a portal with this functionalities, and I don't know if it is possible to do it using Struts2 or what is better for it:
>> >
>> > 1) User preferences: every user can configure its "window" and maintain its configuration after save preferences and log in again. The user can select options from a list and position them where he wants. ¿Maybe using portlets?¿Changing css dinamically depending on logged user?¿Any other option?
>> >
>> > 2) Languages: every user can access in some languages. As I've tested, the language is configured with regional settings. But it is possible to select the language in the login page and maintain it during the session?
>> >
>> > 3) Persistence layer: better Hibernate or iBatis? About performance?
>> >
>> > 4) E-commerce: shop cart, what about security?
>> >
>> > 5) Sitemesh or Tiles? I've used tiles and it is ok, but the xml are too long. About performance?
>> >
>> >
>> >
>> > The options I've considered are:
>> >
>> > Tomcat, MySQL, Struts2 with Spring IOC and open in view filter, Sitemesh or Tiles, Hibernate or iBatis, Portlets.
>> >
>> > Other option is use JSF. Which selection do you think would be better?
>> >
>> > Thanks in advance.
>> >
>> > Francisco
>> >
>> > _________________________________________________________________
>> > Chatea sin límites en Messenger con la tarifa plana de Orange
>> > http://serviciosmoviles.es.msn.com/messenger/orange.aspx
>>
>> _________________________________________________________________
>> Lauren found her dream laptop. Find the PC that’s right for you.
>> http://www.microsoft.com/windows/choosepc/?ocid=ftp_val_wl_290
>
> _________________________________________________________________
> Llévate Messenger en el móvil a todas partes ¡Conéctate!
> http://www.microsoft.com/spain/windowsmobile/messenger/default.mspx

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


RE: Doubts about new project (Struts2 good way to do it?)

Posted by Francisco Exposito <fc...@hotmail.com>.
I've read that jetspeed2 documentation is poor... do you have an example about jetspeed2 + struts2?

Then, is it possible to create a project using: 

Struts2, Jetspeed2, Spring plugin, Hibernate and Sitemesh? or jetspeed is not compatible with the other? And what about the performance? Could it be ok using all that? And is it possible to use them in Tomcat or it is necessary JBoss? I want to find a free hosting and if it is difficult to find in Tomcat... I don't want to think in JBoss...

Regards,
Francisco

> From: mgainty@hotmail.com
> To: user@struts.apache.org
> Subject: RE: Doubts about new project (Struts2 good way to do it?)
> Date: Thu, 4 Jun 2009 15:43:55 -0400
> 
> 
> Good Afternoon Francisco
> i have an opinion on the subject which i would be more than happy to share with you
> 
> > 1) User preferences: every user can configure its "window" and
> maintain its configuration after save preferences and log in again. The
> user can select options from a list and position them where he wants.
> ¿Maybe using portlets?¿Changing css dinamically depending on logged
> user?¿Any other option?
> MG>JetSpeed..tried and true Principal assignment to User,Group
> http://portals.apache.org/jetspeed-2/
> 
> > 2) Languages: every user can
> access in some languages. As I've tested, the language is configured
> with regional settings. But it is possible to select the language in
> the login page and maintain it during the session?
> MG>simple as setting request_locate to en requst_locale=es
> MG>http://struts.apache.org/2.1.6/docs/how-do-we-change-locales.html
> > 
> > 3) Persistence layer: better Hibernate or iBatis? About performance?
> MG>I think hibernate has more deploys be aware of lazy_init not creating all dependent objects in object graph
> https://www.hibernate.org/162.html
> > 
> > 4) E-commerce: shop cart, what about security?
> MG>SSL all the way..dont send cleartext for anything unless you want mailicious eavesdropper intervention!
> http://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html
> MG>i can give you SSL solutions for OAS, WL, Resin, JBOSS if you need it
> > 
> > 5) Sitemesh or Tiles? I've used tiles and it is ok, but the xml are too long. About performance?
> MG>Sitemesh is the css handler that is preconfigured for Struts
>     <filter>
>         <filter-name>sitemesh</filter-name>
>         <filter-class>com.opensymphony.module.sitemesh.filter.PageFilter</filter-class>
>     </filter>
>     <filter-mapping>
>         <filter-name>sitemesh</filter-name>
>         <url-pattern>/*</url-pattern>
>     </filter-mapping>
> 
> MG>if you like using VM macros coded thru SiteMesh then enable VelocityPageFilter in web.xml
>         <filter>
>             <filter-name>sitemesh</filter-name>
>             <filter-class>org.apache.struts2.sitemesh.VelocityPageFilter</filter-class>
>         </filter>
>         <filter-mapping>
>             <filter-name>sitemesh</filter-name>
>             <url-pattern>/*</url-pattern>
>         </filter-mapping>
> 
> and for freemarker
>     <filter>
>         <filter-name>sitemesh</filter-name>
>         <filter-class>org.apache.struts2.sitemesh.FreeMarkerPageFilter</filter-class>
>     </filter>
>         <filter-mapping>
> 
>             <filter-name>sitemesh</filter-name>
> 
>             <url-pattern>/*</url-pattern>
> 
>         </filter-mapping>
> 
> 
> Saludos Cordiales desde EEUU!
> Martin
> GMT+5(esta semana)
> > 
> > 
> > 
> > The options I've considered are:
> > 
> > Tomcat, MySQL, Struts2 with Spring IOC and open in view filter, Sitemesh or Tiles, Hibernate or iBatis, Portlets. 
> > 
> > Other option is use JSF. Which selection do you think would be better?
> > 
> 
> 
> Martin Gainty 
> ______________________________________________ 
> Jogi és Bizalmassági kinyilatkoztatás/Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
>  Ez az
> üzenet bizalmas.  Ha nem ön az akinek szánva volt, akkor kérjük, hogy
> jelentse azt nekünk vissza. Semmiféle továbbítása vagy másolatának
> készítése nem megengedett.  Ez az üzenet csak ismeret cserét szolgál és
> semmiféle jogi alkalmazhatósága sincs.  Mivel az electronikus üzenetek
> könnyen megváltoztathatóak, ezért minket semmi felelöség nem terhelhet
> ezen üzenet tartalma miatt.
> 
> Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
> Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.
> 
> 
> 
> 
> > From: fcoexposito@hotmail.com
> > To: user@struts.apache.org
> > Subject: Doubts about new project (Struts2 good way to do it?)
> > Date: Thu, 4 Jun 2009 15:45:09 +0000
> > 
> > 
> > Hello,
> > 
> > I want to create a portal with this functionalities, and I don't know if it is possible to do it using Struts2 or what is better for it:
> > 
> > 1) User preferences: every user can configure its "window" and maintain its configuration after save preferences and log in again. The user can select options from a list and position them where he wants. ¿Maybe using portlets?¿Changing css dinamically depending on logged user?¿Any other option?
> > 
> > 2) Languages: every user can access in some languages. As I've tested, the language is configured with regional settings. But it is possible to select the language in the login page and maintain it during the session?
> > 
> > 3) Persistence layer: better Hibernate or iBatis? About performance?
> > 
> > 4) E-commerce: shop cart, what about security?
> > 
> > 5) Sitemesh or Tiles? I've used tiles and it is ok, but the xml are too long. About performance?
> > 
> > 
> > 
> > The options I've considered are:
> > 
> > Tomcat, MySQL, Struts2 with Spring IOC and open in view filter, Sitemesh or Tiles, Hibernate or iBatis, Portlets. 
> > 
> > Other option is use JSF. Which selection do you think would be better?
> > 
> > Thanks in advance.
> > 
> > Francisco
> > 
> > _________________________________________________________________
> > Chatea sin límites en Messenger con la tarifa plana de Orange
> > http://serviciosmoviles.es.msn.com/messenger/orange.aspx
> 
> _________________________________________________________________
> Lauren found her dream laptop. Find the PC that’s right for you.
> http://www.microsoft.com/windows/choosepc/?ocid=ftp_val_wl_290

_________________________________________________________________
Llévate Messenger en el móvil a todas partes ¡Conéctate!
http://www.microsoft.com/spain/windowsmobile/messenger/default.mspx

RE: Doubts about new project (Struts2 good way to do it?)

Posted by Martin Gainty <mg...@hotmail.com>.
Good Afternoon Francisco
i have an opinion on the subject which i would be more than happy to share with you

> 1) User preferences: every user can configure its "window" and
maintain its configuration after save preferences and log in again. The
user can select options from a list and position them where he wants.
¿Maybe using portlets?¿Changing css dinamically depending on logged
user?¿Any other option?
MG>JetSpeed..tried and true Principal assignment to User,Group
http://portals.apache.org/jetspeed-2/

> 2) Languages: every user can
access in some languages. As I've tested, the language is configured
with regional settings. But it is possible to select the language in
the login page and maintain it during the session?
MG>simple as setting request_locate to en requst_locale=es
MG>http://struts.apache.org/2.1.6/docs/how-do-we-change-locales.html
> 
> 3) Persistence layer: better Hibernate or iBatis? About performance?
MG>I think hibernate has more deploys be aware of lazy_init not creating all dependent objects in object graph
https://www.hibernate.org/162.html
> 
> 4) E-commerce: shop cart, what about security?
MG>SSL all the way..dont send cleartext for anything unless you want mailicious eavesdropper intervention!
http://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html
MG>i can give you SSL solutions for OAS, WL, Resin, JBOSS if you need it
> 
> 5) Sitemesh or Tiles? I've used tiles and it is ok, but the xml are too long. About performance?
MG>Sitemesh is the css handler that is preconfigured for Struts
    <filter>
        <filter-name>sitemesh</filter-name>
        <filter-class>com.opensymphony.module.sitemesh.filter.PageFilter</filter-class>
    </filter>
    <filter-mapping>
        <filter-name>sitemesh</filter-name>
        <url-pattern>/*</url-pattern>
    </filter-mapping>

MG>if you like using VM macros coded thru SiteMesh then enable VelocityPageFilter in web.xml
        <filter>
            <filter-name>sitemesh</filter-name>
            <filter-class>org.apache.struts2.sitemesh.VelocityPageFilter</filter-class>
        </filter>
        <filter-mapping>
            <filter-name>sitemesh</filter-name>
            <url-pattern>/*</url-pattern>
        </filter-mapping>

and for freemarker
    <filter>
        <filter-name>sitemesh</filter-name>
        <filter-class>org.apache.struts2.sitemesh.FreeMarkerPageFilter</filter-class>
    </filter>
        <filter-mapping>

            <filter-name>sitemesh</filter-name>

            <url-pattern>/*</url-pattern>

        </filter-mapping>


Saludos Cordiales desde EEUU!
Martin
GMT+5(esta semana)
> 
> 
> 
> The options I've considered are:
> 
> Tomcat, MySQL, Struts2 with Spring IOC and open in view filter, Sitemesh or Tiles, Hibernate or iBatis, Portlets. 
> 
> Other option is use JSF. Which selection do you think would be better?
> 


Martin Gainty 
______________________________________________ 
Jogi és Bizalmassági kinyilatkoztatás/Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
 Ez az
üzenet bizalmas.  Ha nem ön az akinek szánva volt, akkor kérjük, hogy
jelentse azt nekünk vissza. Semmiféle továbbítása vagy másolatának
készítése nem megengedett.  Ez az üzenet csak ismeret cserét szolgál és
semmiféle jogi alkalmazhatósága sincs.  Mivel az electronikus üzenetek
könnyen megváltoztathatóak, ezért minket semmi felelöség nem terhelhet
ezen üzenet tartalma miatt.

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.




> From: fcoexposito@hotmail.com
> To: user@struts.apache.org
> Subject: Doubts about new project (Struts2 good way to do it?)
> Date: Thu, 4 Jun 2009 15:45:09 +0000
> 
> 
> Hello,
> 
> I want to create a portal with this functionalities, and I don't know if it is possible to do it using Struts2 or what is better for it:
> 
> 1) User preferences: every user can configure its "window" and maintain its configuration after save preferences and log in again. The user can select options from a list and position them where he wants. ¿Maybe using portlets?¿Changing css dinamically depending on logged user?¿Any other option?
> 
> 2) Languages: every user can access in some languages. As I've tested, the language is configured with regional settings. But it is possible to select the language in the login page and maintain it during the session?
> 
> 3) Persistence layer: better Hibernate or iBatis? About performance?
> 
> 4) E-commerce: shop cart, what about security?
> 
> 5) Sitemesh or Tiles? I've used tiles and it is ok, but the xml are too long. About performance?
> 
> 
> 
> The options I've considered are:
> 
> Tomcat, MySQL, Struts2 with Spring IOC and open in view filter, Sitemesh or Tiles, Hibernate or iBatis, Portlets. 
> 
> Other option is use JSF. Which selection do you think would be better?
> 
> Thanks in advance.
> 
> Francisco
> 
> _________________________________________________________________
> Chatea sin límites en Messenger con la tarifa plana de Orange
> http://serviciosmoviles.es.msn.com/messenger/orange.aspx

_________________________________________________________________
Lauren found her dream laptop. Find the PC that’s right for you.
http://www.microsoft.com/windows/choosepc/?ocid=ftp_val_wl_290