wood burning stoves 2.0*
The moose likes EJB and other Java EE Technologies and the fly likes about a project Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "about a project" Watch "about a project" New topic
Author

about a project

payal sharma
Ranch Hand

Joined: Oct 04, 2000
Posts: 57
My problem is
I am making an online reporting site .I am asking user to fill 3 page
report one by one .I am keeping all value in session.Here Also checking at
every servlet and jsp whether user is valid or not as guest can see the
report but can not fill the report.
A valid user can upload database and only administrator can download
database files.
There are also other simple report to be filled on the site.
These all report are to filled fortnightly and if user miss then he should be
emailed from the server .
I had made this in servlets,jsp,javabeans(with set and get methods only)
Problem I always facing that my session value get lost very easly and
user is sent back to login page . An example
I am using tomcat 3.1
In my login page my session value get lost frequently.I am using
session.setAttribute("logon.isDone", name); in servlets and In every jsp's
I am checking as <% if(session.getAttribute("logon.isDone")==null){<br /> response.sendRedirect("/report/relogin.jsp");}%>
I have taken all initiative to build this site.I am the only programmer
working here so all decision is up to me.
Now my question is whether by using EJB,JMS I can make it more
effective.At present I am learning ejb and site has got facility to use
EJB,JMS,XML.My session problem could be solved.
thanks in advance
payal sharma
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: about a project
 
Similar Threads
Problem with HttpSession in Struts2
user session questions
Redirecting to Login page on session timeout!!
Detecting expired sessions
returning a resultset