Looking for simple servlet-to-javaspace example

"Logan, Patrick" <[email protected]>
Newsgroups gmane.comp.java.sun.jini
Message-ID <[email protected]>
I'm trying to write the simplest servlet-to-javaspace example that could possibly work. I can write a servlet and I can write a javaspaces client. I do not (yet) understand all the details of security for either one. (So far with jini I have been ignoring security, i.e. wide open).

I'm using just the starter kit + tomcat, well in this case tomcat is running as a service inside jboss.

Purposefully being naïve to understand what breaks, I've not altered the security anywhere yet. In the servlet's init method I am doing the lookup for a javaspace service.

And so I am getting (an expected) AccessControlException when the war file is deployed into jboss and the init is called.

Any pointers to the *simplest* thing to get this working. Two sources I have started looking at...

* Jan Newmarch's book -- the servlet example appears to be putting the jini jars and security stuff at the tomcat installation level. I would much rather set up a specific servlet to access jini.

* jiniservlet.dev.java.net -- I've downloaded the docs and examples. This looks chock full of information that I have only started looking at. The reason for this email is I am frankly intimidated by all the stuff that hits me up front. If possible I'd digest it better by seeing the simplest example before all the considerations included here.

i.e. I'd like to progress to where I understand everything in that jiniservlet project, but aren't there some smaller steps I can take first?

Pointers greatly appreciated. Thanks
-Patrick


Patrick Logan
Premium Innovation
Liberty Mutual - Agency Markets IT West
650 NE Holladay Street
PO Box 4555
Portland, OR   97208-4555

Office: 503.736.7537
Cell: 503.476.5387



--------------------------------------------------------------------------
Getting Started:     http://www.jini.org/wiki/Category:Getting_Started
Community Web Site:  http://jini.org
jini-users Archive:  http://archives.java.sun.com/archives/jini-users.html
Unsubscribing:       email "signoff JINI-USERS"  to [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.