Hi,
i recently saw a ValuListHandler question on this forum from a couple days ago, this helped me a little with my forwarding quetion, but i still have more doubts.
I`m developing a complete j2ee app (jsps, servlets, ejbs). Is the ValueListHandler pattern really usefull?
If so ...
- Is it better to implement with Statefull sessions or as a POJO?
- Does it matter if i use the ValueListHandler to access the db via DAOs or CMPs (cause i`m using CMPs basically)?
Thanks,
ltcmelo
-
Question about ValueListHandler pattern (3 messages)
- Posted by: Leandro Melo
- Posted on: May 11 2004 08:36 EDT
Threaded Messages (3)
- Question about ValueListHandler pattern by Arun Nair on May 12 2004 10:37 EDT
- Implementation of the Core J2EE Patterns - Value List Handler . by Matthew Wilson on May 13 2004 08:22 EDT
- Implementation of the Core J2EE Patterns - Value List Handler . by Matthew Wilson on May 13 2004 11:57 EDT
- Implementation of the Core J2EE Patterns - Value List Handler . by Matthew Wilson on May 13 2004 08:22 EDT
-
Question about ValueListHandler pattern[ Go to top ]
- Posted by: Arun Nair
- Posted on: May 12 2004 10:37 EDT
- in response to Leandro Melo
In case, If you havent seen this ..
http://java.sun.com/blueprints/corej2eepatterns/Patterns/ValueListHandler.html
The 'Stateful Session Bean Strategy' explained in that link. I am concerned about the amount of Remotes calls we make, which would'nt be a good idea considering its expensive.
In my opinion use a normal Java ValueListHandler class, which uses stateLESS session bean or DAO imp class for the Data List creation with the help of CMP/JDBC and then ValueListHandler can iterate the list as normal.
-arun -
Implementation of the Core J2EE Patterns - Value List Handler .[ Go to top ]
- Posted by: Matthew Wilson
- Posted on: May 13 2004 08:22 EDT
- in response to Arun Nair
Take a look at: http://mlavwilson.sourceforge.net/vlh . The ValueListHandler pattern is implemented as a bean, configured by spring. It can be wrapped by a stateless bean with little effort. -
Implementation of the Core J2EE Patterns - Value List Handler .[ Go to top ]
- Posted by: Matthew Wilson
- Posted on: May 13 2004 11:57 EDT
- in response to Matthew Wilson
Take a look at: http://mlavwilson.sourceforge.net/vlh . The ValueListHandler pattern is implemented as a bean, configured by spring. It can be wrapped by a stateless bean with little effort.
Or better yet the ValueListHandler sould be local to the client and the adapters
could make the remote calls if needed.