perfectxml.com
 Basic Search  Advanced Search   
Topics Resources Free Library Software XML News About Us
  Resources
   Articles
   Ask PerfectXML

   411.perfectxml.com
   .NET XML KB Articles
   XML Certification
   Events Calendar
   Product Reviews
   Book Reviews
   Presentations
   Quiz
   Books & Magazines
   Getting Help
   Microsoft & XML
   More...
 
  Sample Chapters
   By Subject
   By Publisher
 
  Learn
   MSXML
   Web Services
   SQLXML
   XML
   SOAP
   More...
 
  Software/Tools
   Native XML Databases
   Web Services
   XSLT Editors
   XML Editors
   Development Tools
   More...
 
  perfectxml.com
   Contact Us


home » software » Development Tools » GEMObjectSpan Tue, Aug 14, 2007
GEMObjectSpan

Previous ItemPrevious NextNext Item
Product:  GEMObjectSpan

Instantly converts any Java objects to and from XML files
Category:  Development Tools
Details:  The GEMObjectSpan service instantly converts any objects to and from XML files. Because it allows the exchange of objects between heterogeneous systems in an XML format that can be easily customized, it represents a key building block for business-to-business e-commerce. For enterprise Java applications that will required maintenance releases and upgrades, then you also need to deal with the issue of migration across versions of your classes while preserving critical business data. The GEMObjectSpan service provides a simple, powerful, and general approach to migration.

The XML file can be read through the GEMObjectSpan services and used to recreate objects and their state. If an object definition has changed -- no problem. GEMObjectSpan accounts for all typical types of changes, such as added fields, removed fields, and changed field types. A well-defined migration approach and API converts all available information into a convenient object format, which can then be submitted to a migration method to complete the migration process.

Application: Business-to-Business e-Commerce. Because GEMObjectSpan immediately creates an XML representation of an object's business data, it is an ideal solution for business-to-business transactions. It allows the developer to create the best objects to implement business rules and then convert them effortlessly to XML for business-to-business data transactions. Flexible, user-defined aliases for data types and element tag attributes can be specified at externalization or internalization time. In addition to making the XML representation highly readable, this is very important for e-commerce between partners who use differing technologies (e.g., Java, C++, or VisualBasic) to host their representations of the business objects.

Application: Object Migration. Although existing approaches, such as Java serialization based on the Serializable interface, can be used for externalizing, transporting, and internalizing objects within a homogeneous Java environment, product developers face significant challenges over time. This is because it may not be possible to reconstitute previously externalized instances after changes are made to the class. Some approaches to migration can require awkward class renaming and ad hoc procedures for dealing with new, removed, or changed fields. By including GEMObjectSpan as a service within an application, the application has the tools needed for a smooth migration between system releases. GEMObjectSpan uses flexible XML parsing technology and a structured migration paradigm to facilitate migration between class versions. For every internalized object, a special object is created containing the class name, version, and any fields that could not be stored in the internalized object. After all fields are processed, a migration method (if one has been provided) is invoked on the internalized object. This method can perform any transformations and mappings needed to complete the migration.

Application: HTTP Object Transport Between Heterogeneous Object Systems In addition to using files, GEMObjectSpan can externalize and internalize objects directly to and from a stream. This creates the opportunity for object transport between web servers and clients that is very simple and that can readily be extended for use in a mixed language environment, for example, between Java server side objects and VisualBasic components on the client.

Application: Instant Object Persistency. Making objects persistent in a relational or object database is not the most practical or desirable approach for some applications, such as those placed directly on a standalone client PC. GEMObjectSpan can be used to create an instant persistent representation of objects on a local or shared file system. The value of this lightweight persistency mechanism is further enhanced by GEMObjectSpan's easy migration capability.

Platforms. Because GEMObjectSpan is completely Java-based, it is portable across virtually every platform that supports Java. It has been deployed and tested on the following platforms: JDK 1.1.1, 1.1.7B, 1.1.8, and 1.2.2, NT 4.0 and Windows 95/98 operating systems

The GEMObjectSpan Package. The package includes a full API documentation set and description of the XML file format and options. An extensive set of example and test classes, including their source code, is provided. A WrapperInterface is included, which can be used to externalize classes that do not have public fields. The IBM XML4J Java/XML parsing package is also included, although any Simple API for XML (SAX) compliant parser can be used.

More Information:  http://www.global-enterprise-mgrs.com/
Developer:  Global Enterprise Managers
Environment:  Java (Microsoft Windows)
Purchase Info:  Commercial
Previous ItemPrevious NextNext Item
  Contact Us | E-mail Us | Site Guide | About PerfectXML | Advertise ©2004 perfectxml.com. All rights reserved. | Privacy