Re: [Mav-user] Need recommendation as to what controller to use..

2004-11-10 Thread Eelco Hillenius
Yiannis,
You can use FormBeanCtrlBase for thread safe controllers. It won't solve 
your problem though, as an instance of this will be created with every 
request (instead of the session you seem to be looking for). Why not 
just use an object to hold your questionaire data and keep it in the 
session? You can use the HttpSession just like you would with Servlets.

Btw, though there will be bugsupport for an unlimited time on Baritus, 
it is not actively being developed as I am working on a new project 
(which is currently in alpha, but will reach beta in a couple of weeks 
from now). Session handling etc. is much easier with this project, and 
it is fully component based. It might take some time to get used to if 
you are used to web-MVC frameworks (Maverick/ Baritus, Struts, etc.), 
but if you're not used to the page oriented approach, you'd probably 
find this project much easier to work with. If you're intested, take a 
look at Wicket: http://wicket.sourceforge.net

Good luck,
  Eelco
Yiannis Mavroukakis wrote:
Hello :)
Sorry for the dumb question but I am stuck :) I want to create a
questionaire and I am wondering what
type for controller is should be using. FormBeanUser appeals to me, but
the fact that it is not thread-safe
is a problem, since I want to persist the questionaire selections (the
bean I created) during the session and submit them at the
end of it. What is the most suitable controller for the job and are
there any examples to guide me along?
Thank you for your time,
Yiannis.
 


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click
[INVALID FOOTER]


RE: [Mav-user] Need recommendation as to what controller to use..

2004-11-10 Thread Yiannis Mavroukakis
Because I seem to suffer from an obscure form of brain disease, which
removes all traces of the existence of the HttpSession object
from my memory ,I think it's called d'oh ;)
Thank you for that, I will also take a look at your project.

Yiannis

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Eelco
Hillenius
Sent: 10 November 2004 14:15
To: [EMAIL PROTECTED]
Subject: Re: [Mav-user] Need recommendation as to what controller to
use..

Yiannis,

You can use FormBeanCtrlBase for thread safe controllers. It won't solve
your problem though, as an instance of this will be created with every
request (instead of the session you seem to be looking for). Why not
just use an object to hold your questionaire data and keep it in the
session? You can use the HttpSession just like you would with Servlets.

Btw, though there will be bugsupport for an unlimited time on Baritus,
it is not actively being developed as I am working on a new project
(which is currently in alpha, but will reach beta in a couple of weeks
from now). Session handling etc. is much easier with this project, and
it is fully component based. It might take some time to get used to if
you are used to web-MVC frameworks (Maverick/ Baritus, Struts, etc.),
but if you're not used to the page oriented approach, you'd probably
find this project much easier to work with. If you're intested, take a
look at Wicket: http://wicket.sourceforge.net

Good luck,

   Eelco


Yiannis Mavroukakis wrote:

Hello :)

Sorry for the dumb question but I am stuck :) I want to create a 
questionaire and I am wondering what type for controller is should be 
using. FormBeanUser appeals to me, but the fact that it is not 
thread-safe is a problem, since I want to persist the questionaire 
selections (the bean I created) during the session and submit them at 
the end of it. What is the most suitable controller for the job and are

there any examples to guide me along?

Thank you for your time,

Yiannis.

  



---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE LinuxWorld
Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click
[INVALID FOOTER]


This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs.

Note:__
This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please immediately delete it and
all copies of it from your system, destroy any hard copies of it and
notify the sender. You must not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the
intended recipient. Jaguar Freight Services and any of its subsidiaries
each reserve the right to monitor all e-mail communications through its
networks.
Any views expressed in this message are those of the individual sender,
except where the message states otherwise and the sender is authorized
to state them to be the views of any such entity.

This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs.


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88alloc_id065op=click
[INVALID FOOTER]


Re: [Mav-user] Need recommendation as to what controller to use..

2004-11-10 Thread Eelco Hillenius
LOL
Yiannis Mavroukakis wrote:
Because I seem to suffer from an obscure form of brain disease, which
removes all traces of the existence of the HttpSession object
from my memory ,I think it's called d'oh ;)
Thank you for that, I will also take a look at your project.
Yiannis
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Eelco
Hillenius
Sent: 10 November 2004 14:15
To: [EMAIL PROTECTED]
Subject: Re: [Mav-user] Need recommendation as to what controller to
use..
Yiannis,
You can use FormBeanCtrlBase for thread safe controllers. It won't solve
your problem though, as an instance of this will be created with every
request (instead of the session you seem to be looking for). Why not
just use an object to hold your questionaire data and keep it in the
session? You can use the HttpSession just like you would with Servlets.
Btw, though there will be bugsupport for an unlimited time on Baritus,
it is not actively being developed as I am working on a new project
(which is currently in alpha, but will reach beta in a couple of weeks
from now). Session handling etc. is much easier with this project, and
it is fully component based. It might take some time to get used to if
you are used to web-MVC frameworks (Maverick/ Baritus, Struts, etc.),
but if you're not used to the page oriented approach, you'd probably
find this project much easier to work with. If you're intested, take a
look at Wicket: http://wicket.sourceforge.net
Good luck,
  Eelco
Yiannis Mavroukakis wrote:
 

Hello :)
Sorry for the dumb question but I am stuck :) I want to create a 
questionaire and I am wondering what type for controller is should be 
using. FormBeanUser appeals to me, but the fact that it is not 
thread-safe is a problem, since I want to persist the questionaire 
selections (the bean I created) during the session and submit them at 
the end of it. What is the most suitable controller for the job and are
   

 

there any examples to guide me along?
Thank you for your time,
Yiannis.

   


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE LinuxWorld
Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click
[INVALID FOOTER]

This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs.
Note:__
This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please immediately delete it and
all copies of it from your system, destroy any hard copies of it and
notify the sender. You must not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the
intended recipient. Jaguar Freight Services and any of its subsidiaries
each reserve the right to monitor all e-mail communications through its
networks.
Any views expressed in this message are those of the individual sender,
except where the message states otherwise and the sender is authorized
to state them to be the views of any such entity.

This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs.
---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88alloc_id065op=click
[INVALID FOOTER]
 


---
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588alloc_id=12065op=click
[INVALID FOOTER]