Study PetStore 1.4 series (2): Use NetBeans IDE 5.0 to view application server configuration and derby database content.

After deploying PetStore 1.4 on Sun Application Server 8.2 (
j2ee1.4sdk), you can view the source and other content through NetBeans
IDE. I am not used to command line, so GUI is my preferred working style.1. Download NetBeans IDE 5.0 from
http://www.netbeans.info/downloads/download.php?type=5.0
2. Add Sun Application Server in NetBeans IDE. “Runtime (tab) ->
Servers (right click) -> Add server ->. You can see the deployed
petstore applications:
AdminEAR
OrderProcessingCenterEAR
SupplierEAR
PetStoreEAR
3. Create derby connection. Databases -> Apache Derby (Net) (Right
click) -> Connection Using ->
Name: Apache Derby (Net)
Driver: org.apache.derby.jdbc.ClientDriver
jdbc.derby://localhost:1527/derbyDB
User Name: derbypublic
Password: derbypublic
4. Select one table, right click “execute Command…”, you can view the
data through SQL in NetBeans IDE

Advertisements

关于 李力(Ada Li)
Entrepreneur, Community Leader, Software Engineer

发表评论

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / 更改 )

Twitter picture

You are commenting using your Twitter account. Log Out / 更改 )

Facebook photo

You are commenting using your Facebook account. Log Out / 更改 )

Google+ photo

You are commenting using your Google+ account. Log Out / 更改 )

Connecting to %s

%d 博主赞过: