Configuring and deploying sun’s pet store, Set up the environment – Apple Mac OS X Server v10.3 User Manual
Page 21

Pet Store is a sample J2EE application from Sun Microsystems. Pet Store showcases the power and
flexibility of the J2EE platform. This chapter provides a tutorial on the configuration of Sun’s Pet Store
for deployment in Mac OS X Server.
Sun’s Pet Store is comprised of several applications. This tutorial uses the Pet Store enterprise
application and the Supplier enterprise application.
In this tutorial you obtain the Pet Store files from Sun, prepare your Mac OS X Server system for a
Pet Store deployment, and configure the Pet Store and Supplier applications for deployment on JBoss.
Note:
The companion files of this document include configured Pet Store archives that are ready for
deployment using MySQL as the database engine. They’re at
Application_Server_companion/Configured_Pet_Store_archives
. You need to perform only
the steps listed in
(page 21) and
“Deploy and Test the Application”
(page
35).
for more information on Sun’s Pet
Store application.
Set Up the Environment
Before you can configure an enterprise application for deployment in Mac OS X Server, make sure
that you have all the files you need. Then create any necessary tables in your database, and ensure
that the appropriate processes are running:
1.
Get Pet Store from Sun.
Download the Pet Store enterprise application from
, and place the
petstore1.3.2
directory in your home directory. (Pet Store 1.3.2 is also included as part of this document’s
companion files.)
2.
Configure MySQL:
a.
Launch MySQL Manager, located in
/Applications/Server
.
b. Click the lock button, and authenticate as the system administrator.
Set Up the Environment
21
2005-08-11 | © 2003, 2005 Apple Computer, Inc. All Rights Reserved.
C H A P T E R 3
Configuring and Deploying Sun’s Pet Store