Re: Context and Application

2010-03-22 Thread Bruno Harbulot
Hi, I tend to go for option 2 or to use JNDI, which may help when using a Servlet container. Unless your ServerResources are extremely generic, it's quite likely that they're going to have to know what to expect to load from the context (or JNDI). One way to make sure changing the attribute nam

Re: Context and Application

2010-03-22 Thread Stephan Koops
. best regards Stephan -Ursprüngliche Nachricht- Von: webp...@tigris.org Gesendet: 19.03.2010 18:36:33 An: discuss@restlet.tigris.org Betreff: Context and Application >Hi, > >I am new to Restlet and any similar technology and I am wondering about the >right approach to share bu

Context and Application

2010-03-21 Thread webpost
Hi, I am new to Restlet and any similar technology and I am wondering about the right approach to share business and data objects (eg. Hibernate) among Restlet Resources. After reading the books, docs and older posts in this forum, I know why the Component Context shall not be used to pass inf