Version 5.3-beta2 of the GRIA client is now available for download: http://www.gria.org/downloads/download-page-5.3
As described previously on this list, the 5.3 client features a completely redesigned Java API. This should be cleaner, easier to use and more flexible. Note that GRIA clients and services remain compatible at the SOAP level, so a client written using the new API will still work with GRIA 5.2 services, for example. This email summarises the (relatively minor) changes since the 5.3-beta1 release. For an explanation of the differences from GRIA 5.2, see this previous mailing list post (2008-04-18): http://sourceforge.net/mailarchive/message.php?msg_name=1208532874.7144.9.camel%40denbies.it-innovation.soton.ac.uk Highlights of this release include: - The OGSA-DAI plugin is now included with the standard client. - The Groovy interpreter has been upgraded to a newer version, allowing Java 1.5 annotations in Groovy scripts. - Some remaining pieces of the old API have been removed. This should reduce confusion when trying to use the new API. The Swing plugin API has changed slightly: - public void showPopupMenu(JPopupMenu menu, Object[] items); + public void showPopupMenu(JPopupMenu menu, Class itemClass, EndpointReferenceType[] items); This makes it clear that "items" now only contains EndpointReferenceType objects. itemClass gives a Java interface that would be supported by any proxy created from one of the items, saving the need for each plugin to calculate this itself. Plugins use this information to decide which menu items to make available for the current selection. The dispatch method for menu items has also changed: - public void dispatch(Object sample) throws RemoteException; + public void dispatch(EndpointReferenceType epr, Object sample); This makes it easier to get hold of the EPR corresponding to the proxy object. There is a new CryptoIdentityProvider class, which reads crypto.properties. This can be used to recreate the 5.2 behaviour of defining the location and password of the keystore in a properties file. Transport's HTTP methods now allow you to pass in extra HTTP headers. This is useful if you want to include a SAML token in a REST message, for example. Transport.invokeService() is gone. Use Transport.invoke() instead. A new ConversationID.getJavaType() method provides an easy way to look up the suggested Java interface for a particular resource type. This is preferred to the older ConversationID.fixType() method, since it doesn't modify the EPR. ITInnovSocketFactory now uses whatever security algorithms are configured as the defaults, rather than being hard-coded to use "SunX509". This allows the GRIA libraries to used from within .NET, with the free Jessie library (http://www.nongnu.org/jessie/). The new CertificateFileTrustValidator class can be used to check certificates against those found in a specified directory. This makes trusted certificate management easier, since you don't need to add them to your KeyStore file. This is particularly important when using an IdentityProvider that generates the KeyStore automatically. These old classes have been removed: - StateRepository, StateRepositoryListener, ObjectAlreadyExists, RepositoryChangedEvent, AbstractStateRepository, FileStateRepository, MemoryStateRepository, RepositoryChangedEventImpl (replaced by ProxyFactory and LocalRegistry) - DestroyableConversation (which didn't contain any methods) - PluginHookExtensionsV53 (use ConversationBrowserPlugin instead) Bug fixes include: - SAML tokens are now included in SOAP headers correctly. - Transferring data between stagers on different machines works again. Known issues There may be some problems storing keystore preferences on Linux when using Java 6. A work-around is to use Java 1.5. Feedback We would appreciate feedback on the new client, which can be sent either to the public GRIA mailing list or (for private correspondence) to the GRIA support email address. Information about both can be found here: http://www.gria.org/support_request -- Dr Thomas Leonard IT Innovation Centre 2 Venture Road Southampton Hampshire SO16 7NP Tel: +44 0 23 8076 0834 Fax: +44 0 23 8076 0833 mailto:[EMAIL PROTECTED] http://www.it-innovation.soton.ac.uk ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ gria-general mailing list gria-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gria-general