What is Session? surely you should be using an SSO, and not a singleton 
service? i.e.: 

@SessionState
private Session _session;

-- 
If you are not an intended recipient of this e-mail, please notify the sender, 
delete it and do not read, act upon, print, disclose, copy, retain or 
redistribute it. Please visit http://www.albourne.com/email.html for important 
additional terms relating to this e-mail.

----- Original Message -----
From: "Ashwanth Kumar" <ashwanth.ku...@gmail.com>
To: "Tapestry users" <users@tapestry.apache.org>
Sent: Monday, 21 December, 2009 19:35:09 GMT +02:00 Athens, Beirut, Bucharest, 
Istanbul
Subject: Help with using DWR with Tapestry

Hello,

In my project, i would like to use DWR along with Tapestry! But i've a
probelm. Its like i need to access the DB, i use Hibernate with Tapestry. In
my class i've:

@Inject
private Session _session;

when i access this class from DWR, Tapestry doesn't interfere at all. But,
i'm getting a null pointer exception where i first start using the Session.
How and what should be done for this?

 - Ashwanth Kumar

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to