On Oct 13, 2009, at 11:40 AM, Antonio Fornié wrote:
Thank you very much!
+1. Thanks Quintin!
--kevan
> Thank you very much for your detailed answer. By the way, and only to learn,
> what would you answer to people who think EJB 3 is still far more complex
> than other alternatives.
To tell you the truth, I wouldn't know what to say. The only other
alternative I know of is Spring, and it's a compl
le who think EJB 3 is still far more complex
than other alternatives.
Thank you very much!
--
View this message in context:
http://www.nabble.com/Stateful-session-bean-has-no-state-tp25861132s134p25875359.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Hey,
I made a mistake in the example code - I forgot to update the session,
please replace into it the following method:
public void doGet()
{
HttpSession session = request.getSession();
MyApplication app = session.getAttribute("MyApplication");
if (app == null)
{
app = new MyApplicatio
No problem. Your question and intentions are completely valid.
See my answers below.
> Thank you once again. Now it has state, the problem now is that it has the
> same state for everybody. I used two browsers at a time, a Firefox and an
> IE. They both had the same state, if I refreshed one of t
managing objects in session as the container was doing that work for me. I
only want to know.
--
View this message in context:
http://www.nabble.com/Stateful-session-bean-has-no-state-tp25861132s134p25864259.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
e() {
>> this.number += 10;
>> return this.productNumber;
>> }
>>
>> }
>>
>> My jsp uses CartLocal interface wich only shows "getNumberService()" method.
>> When requesting the jsp with my web browser it always
ace wich only shows "getNumberService()" method.
> When requesting the jsp with my web browser it always shows ten. when
> refreshing the page it should show 20, but once again shows 10. What am I
> doing wrong?
>
> Thank you very much!
> --
> View this message in cont
s message in context:
http://www.nabble.com/Stateful-session-bean-has-no-state-tp25861132s134p25861132.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.