Re: Announcing Project Bantam

Tom Cellucci <[email protected]> Wed, 1 Nov 2006 08:30:53 -0500
Newsgroups gmane.comp.java.sun.javaspaces
Message-ID <[email protected]>
Yesterday's project announcement promised instructions on how to access the
Jini services running on the public site at
bantam.skillcorp.com<http://bantam.skillcorp.com/bantam-examples>.
If you'd like to try it out (and who wouldn't ;-) ), you can do the
following with the Jini Browser:

(1) download 'bantam-client.jar' from
bantam.dev.java.net<https://bantam.dev.java.net/servlets/ProjectDocumentList>
This jar contains an alternate DiscoveryManager and LookupLocator
implementation that is compatible with Bantam unicast discovery.

(2) edit browser.config in ${JINI_HOME}/installverify/support to include:
discoveryManager=new
com.skillcorp.bantam.service.discovery.BantamDiscoveryManager();
initialLookupLocators = {
   new com.skillcorp.bantam.service.discovery.RegistryLocator( "
http://bantam.skillcorp.com/bantam-examples/locator/")
};

(3) edit startAll.config in ${JINI_HOME}/installverify/support to include
bantam-client.jar downloaded in step (1).  The paths are
installation-specific, but what's required is to change the classpath of the
NonActivatableServiceDescriptor that starts the browser.  Search for "
browser.jar" and throw a ";${SOME_PATH}/bantam-client.jar" on the end of it
(use the classpath separator appropriate for your OS).

(4) That's it.  Run the browser, you should connect to the public Bantam
site at skillcorp.com and be able to browse the LUS, JavaSpace and two
example services running there.  You can use BantamDiscoveryManager (ref:
step 2 above) as a drop-in replacement for Jini's LookupDiscoveryManager; it
works with normal Jini LUS as well as Bantam-hosted LUS.

If you're interested to explore Bantam a little further, the project
distribution<https://bantam.dev.java.net/files/documents/5860/43191/bantam.dev.java.net.zip>has
a couple example clients, one that calls a JavaSpace and another that
invokes a test service.  By changing the locator, you can make these clients
invoke services running out at bantam.skillcorp.com.

The project distro also has examples of how to use Bantam's annotations, how
to use the Spring framework-based service configuration, and a webapp
template you can use to build your own Bantam WARs.  Try it out!

-Tom




On 10/31/06, Tom Cellucci <[email protected]> wrote:
>
> Bantam (http://bantam.dev.java.net) is a new project in the enterprise
> Java community for lightweight remoting based on Jini.  Bantam's distinctive
> features:
>
> (1) packages one or more Jini services in a WAR file
> (2) provides key Jini features over a single HTTP/S connection:
>     -exporting
>     -codebase
>     -unicast discovery
> (3) provides annotations for simple authoring of new services
> (4) runs existing Jini services through NonActivatableServiceDescriptor
>
> Because Bantam services use HTTP and can be configured to run entirely on
> well-known ports, they can be accessed through firewalls and across the
> Internet.  In this way they are similar to web services, but offer the
> advantages of Jini technology.
>
> We're in the process of setting up a live site with a few services (open
> LUS, JavaSpace and a couple examples) at
> http://bantam.skillcorp.com/bantam-examples .  We'll post some "getting
> started" instructions that show how to connect to the services very soon.
> You can find out more about Bantam at http://bantam.dev.java.net.
>
> Tom and Chris Cellucci
> Skill Corporation

===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff JAVASPACES-USERS".  For general help, send email to
[email protected] and include in the body of the message "help".

To view past JAVASPACES-USERS postings, please see:
http://archives.java.sun.com/archives/javaspaces-users.html