Sun Java Solaris Communities My SDN Account Join SDN
 
Article

End-to-End m-Commerce on the Sun ONE Platform

 

This article introduces the use of the Sun Open Net Environment (Sun ONE) as a platform for building m-commerce solutions that integrate easily with your existing systems and with future add-ons. The focus of this article is on building a wireless enterprise solution that draws on various Java technologies and others, including J2ME, J2EE, XML, iPlanet application server, iPlanet web server, iPlanet directory server, Forte Tools, and Oracle[r] RDBMS.

Why Sun ONE for Building m-Commerce Infrastructure?

Three main product lines make up the Sun ONE platform:

These constituents of Sun ONE offer two vital features that sound similar but offer different benefits:

Integrated: Sun ONE products in the platform are optimized for speed and efficiency when used with other Sun ONE products; for example, because iPlanet Directory and iPlanet Portal are designed to work effectively together, using both of them accelerates user authentication and personalization.

Integratable/Interoperable: Because the Sun ONE platform is open standards-based, you can interoperate with your existing systems now, and with new add-ons later, all from a variety of vendors. For example, if you already have Apache running as your application server, and are not worried about scalability or other product concerns, you can keep it running while you implement new Sun ONE components.

Thus, developers who rely largely on Sun products can benefit from the close cooperation among them, yet all developers retain the flexibility to choose products from a variety of vendors to meet their particular needs.

Today Sun ONE provides a solid but open-ended foundation for web-based applications, and for now-emerging web services, distributed systems that use the Internet as their underlying network. Tomorrow it will support Services on Demand, the delivery of services anywhere, at any time, on any kind of client device. Further out, Services on Demand will enable a federation of independent and distributed web services to interact with each other in order to provide "smart" web services, applications that are aware of their identity and context, so that they can, for example, provide services tailored to a user's personal profile and preferences.

Throughout, Sun ONE will promote specifications for standardized access by current and future deployment environments: J2EE, J2ME, Jini, JXTA etc.

Sun ONE is the platform of choice for building web services and Services on Demand, including m-commerce services. The enterprise-level capabilities of Java technology play a fundamental role in building these services. Developers draw on the rich trove of resources in the J2EE platform, including servlets, JSP pages, EJB components, and many other standard interfaces.

A Sun ONE-based End-to-End Architecture for m-Commerce

One sensible end-to-end architecture for integrated m-commerce solutions for handheld devices consists of four tiers:

  1. The back-end tier might be a database such as Oracle, a legacy system, a mainframe, or an Enterprise Information System (EIS).
  2. The middleware tier comprises the iPlanet application server and iPlanet LDAP server that host the Enterprise JavaBeans components. It may also be, for instance, an IMAP server, a calendar server, or a combination of servers, depending on the application requirements.
  3. The web tier is the iPlanet web server hosting JavaServer Pages, servlets, and beans. It may also include an iPlanet portal server. This tier constitutes the wireless portal in this architecture for building m-commerce applications.
  4. The client tier might be a standalone client implemented on J2ME for mobile devices or a WML/XHTML browser running on handheld devices.

Here is one way to visualize this four-tier architecture:

Four-tier architecture
Four-tier architecture
(Click for a full size image.)

The Demo Application

A demonstration application, WebDepOT (Web Deployment on Sun ONE Technology), implements the above architecture. WebDepOT uses Sun ONE technologies to provide an end-to-end m-commerce solution running on PDAs. It is a tool for managing and tracking resources, and enables users to:

  • Record new projects
  • Search projects
  • Update projects
  • Delete existing projects
  • View resources available and allocated to projects

The WebDepOT application is available for download (links are at the top of this article). After downloading the application, follow the instructions in the application's read-me file to install, configure, and run WebDepOT.

References

Acknowledgements

The authors would like to express their gratitude for the contributions of Chengappa Bopanna, Kelly Kishore, and S.R.Venkatramnan to the implementation of the WebDepOT application.



Reader Feedback
Excellent   Good   Fair   Poor  

If you have other comments or ideas for future technical tips, please type them here:

Comments:
If you would like a reply to your comment, please submit your email address:
Note: We may not respond to all submitted comments.

Have a question about Java programming? Use Java Online Support.



Back To Top