Can not open Pet Store 2.0 in NetBeans 5.5

Hello

I'd like to try Java Pet Store. I'm on page https://blueprints.dev.java.net/petstore/usingnetbeans.html right now, looking for instructions which tells me:

1. Install JavaEE5 SDK, SJSAS9: done

2. Download JPS JAR file: done (downloaded it to D:\docs\java\samples)

3. Start NetBeans 5.5, click Open project, browse to jar file, open it:

I can't! There's no project file to open.

javapetstore-2.0-ea4.6-installer.jar contains:

META-INF\Manifest.mf

petstore.class

I can't see any source code, how should I open this as a project...?

What did I do wrong?

[628 byte] By [Geri.Mintallata] at [2007-11-27 2:09:13]
# 1

Okay, the solution: don't let the text

"2. Download and install the Java Pet Store Reference application. Click here (https://blueprints.dev.java.net/downloads.html) to download the JAR file. ..."

mislead you like it did to me.

There's no JAR file to download if you want to import Petstore in Netbeans. On page https://blueprints.dev.java.net/downloads.html don't choose "Web 2.0 Java Pet Store Application", click "Java BluePrints in Java EE SDK" instead. You have to download the full "Java BluePrints" example package (ZIP file) bundled with Java EE 5 SDK Update 2 OR just the package itself on the same page (http://java.sun.com/javaee/downloads/index.jsp) under section "Download the Components Independently".

Have a nice day!

Geri.Mintallata at 2007-7-12 1:59:22 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 2

Hi,

For step 2), please get petstore jar file from https://blueprints.dev.java.net/servlets/ProjectDocumentList?folderID=5315

and do 'java -jar javapetstore-2.0-ea4.6-installer.jar' . This creates a directory called javapetstore-2.0-ea4.6.

For step 3) , point to this directory and it has a project file. You just need to build the project.

This version of petstore works on Java EE 5 SDK Update 3 Preview

or Glassfish V2 Beta 1 build and NetBeans 5.5.1 RC1.

Let me know if you have any problems building and deploying it.

-Smitha

skangatha at 2007-7-12 1:59:23 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...