Download NetBeans!

20060511 Thursday May 11, 2006

Released: Java Pet Store Reference Application 2.0

The Java BluePrints team at Sun Microsystems defines the application programming model for end-to-end solutions using Java technology. It publishes guidelines, patterns, and code for real-world application scenarios, enabling you to build robust, scalable, and portable solutions. One of the Java BluePrints team's projects is called the "Java Pet Store Reference Application". The current version of this application is created to illustrate how AJAX-enabled Web 2.0 applications can be written for the Java EE 5 platform.

The previous version, which complied with the J2EE 1.4 specification, was purely an e-commerce application. However, the current version, which was released a few minutes ago, is far more... it is a "web tool application". Complying with the Java EE 5 specification and leveraging AJAX components such as "mash ups" or Google maps, the current version of Pet Store has a truly "rich" look and feel, closely resembling the experience of a desktop application. For example, there are no static lists; instead, everything is dynamic and the browsing functionality is typical AJAX, with a lot less clicking from page to page and a lot more browsing and moving with the mouse.

It is also a collaborative tool, modeling itself on craigslist, where all the information provided comes from the people who use it. Users upload information about their pets, which others can search for and view and purchase. In this context, the AJAX file upload component is used. The concept of Wiki is used here as well: no login, no forcing of authentication, since it is the community that takes care of garbage and nastiness, instead of the application itself. Similarly, functionality is provided for the community to "rate" content, thus allowing others to see the relative value of contributions.

Further typical AJAX components such as autocomplete and the AJAX progress bar are used as well. An RSS feed, pulling in information from the server, and interaction with PayPal are integrated too.

And the good news is... the BluePrints team have projectized Pet Store so that you can open it in NetBeans IDE 5.5. There are a few set up instructions to follow after you open the project, but none of it is very difficult. Full details for deploying Pet Store in NetBeans IDE 5.5 are provided on the BluePrints site, specifically here:

Using the Pet Store 2.0 in NetBeans 5.5.

More info on what the application provides can be found in the blog of the BluePrints team's project lead Sean Brydon.

May 11 2006, 07:21:05 PM PDT Permalink

Trackback URL: http://blogs.sun.com/geertjan/entry/released_java_pet_store_reference
Comments:

Short video here. Enjoy!

Posted by Alexis MP on May 12, 2006 at 12:11 AM PDT #

can you tell me how to using chat channel plugin? i have install chat channel and plain text chat plugins, but i cant found where to see them?

Posted by jvava on May 12, 2006 at 05:51 AM PDT #

Alexis, great video, thanks! jvava, thanks for the question, but I'm not sure what you're talking about. What is the "chat channel plugin"? Sounds interesting, but have no idea what or where that is.

Posted by Geertjan on May 12, 2006 at 04:59 PM PDT #

in netbenas5.5's menu: tools-->update center--->next----> in available updates and modules: netBeans5.5 beta Update Center Features Libraries Chat Channel Chat Text Content Type Collablet Core & API i have installed these three items,but cant found anything related to "Chat". thanks.

Posted by jvava on May 12, 2006 at 06:47 PM PDT #

Hi jvava, I don't know about those modules. Please write to nbusers@netbeans.org when you have questions about NetBeans on topics that are not covered in this blog.

Posted by Geertjan on May 12, 2006 at 06:55 PM PDT #

Thanks for your great work. I'd like to comment on index.html, which has two links to the main page. The first one is /petstore/faces/index.jsp, which is not relative. The second one is file:///petstore/faces/index.jsp, which is even hard-corded. I recommend using faces/index.jsp for both. Cheers, Ias

Posted by Ias on May 13, 2006 at 05:37 AM PDT #

注册香港公司注册香港公司 注册香港公司注册香港公司 香港公司香港公司 美国公司美国公司 英国公司英国公司 注册香港公司注册香港公司 香港公司注册香港公司注册 香港公司香港公司 注册美国公司注册美国公司 美国公司注册美国公司注册 美国公司美国公司 注册英国公司注册英国公司 英国公司注册英国公司注册 英国公司英国公司 注册香港公司注册香港公司 防雷器防雷器 DEHN防雷器DEHN防雷器 OBO防雷器OBO防雷器 南京网站建设南京网站建设 seo培训seo培训 seo培训seo培训 网站推广网站推广 网站建设网站建设 网站排名网站排名 网站制作网站制作 网站设计网站设计 南京网站推广南京网站推广 南京网站建设南京网站建设 google排名google排名 google左侧排名google左侧排名 货架货架 货架货架 货架货架 货架货架 货架货架 货架货架 货架货架 货架货架 货架货架 货架货架 货架货架 货架货架 货架货架 货架货架 货架货架 货架货架 货架货架 货架货架

Posted by google排名 on January 30, 2007 at 06:55 PM PST #

[http://www.qtyracks.obm.cn/ 货架] [http://www.kfwh.com/blog.asp?name=admin 娱乐新闻] [http://www.qtyhj.obm.cn/ 货架]

Posted by qtyracks on July 23, 2007 at 07:09 PM PDT #

货架 仓储设备

Posted by qtyracks on July 23, 2007 at 07:11 PM PDT #

learn chinese from video!

Posted by jeven on August 13, 2007 at 07:54 AM PDT #

learn chinese from video,

Learn Chinese Quickly and Easily,it won't to be hard! a lot of online lessons with video, including reading, writing, modern vocabulary, grammar, examples and exercices. All texts and dialogs in mp4 and wmv format for download.

Posted by Ezychinese.com on August 13, 2007 at 07:57 AM PDT #

<a href=http://www.zlyg.cn>棕榈树</a> [url=http://www.zlyg.cn]棕榈树[/url]

Posted by kaa on January 17, 2008 at 10:32 PM PST #

Thanks for the backlink. That is why Google created blogspot.com, for the same wow spammers to spam and get backlinks.

Posted by Roulette Systems on May 25, 2008 at 05:07 AM PDT #

Post a Comment:

Name:
E-Mail:
URL:

Your Comment:

HTML Syntax: NOT allowed