[java ee programming] javaeetutorial5

2010-02-14 Thread Edward
I am trying to view javaeetutorial5 example, dukesbank, but when I
pull it into netbeans 6.8, I get a warning:

Target server not set properly.


When I try to build it, it doesn't seem to build:

[C:\java\javaeetutorial5\examples\dukesbank\dukesbank-appclient\src
\java\com\sun\tutorial\javaee\dukesbank\client\BankAdmin.java:35:
cannot find symbol
symbol  : class EJB
location: class com.sun.tutorial.javaee.dukesbank.client.BankAdmin
@EJB]

Please advise.

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en


[java ee programming] Homework 1

2010-02-14 Thread Edward
In homework 1 (http://www.javapassion.com/handsonlabs/webappstructure/
index.html#2.3), I am trying to view jsp pages in its xml version. yet
the netbeans 6.8 looks different than the screenprint posting. Anyone
know where I can access the xml editor mode in nb6.8?

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en


[java ee programming] Re: javaeetutorial5

2010-02-14 Thread miga


On Feb 14, 11:56 pm, Edward burgthum...@gmail.com wrote:
 I am trying to view javaeetutorial5 example, dukesbank, but when I
 pull it into netbeans 6.8, I get a warning:

 Target server not set properly.
In NetBeans, click on the project, click on Files tab, expand the
project name, expand nbproject, click on project properties, inside
the file change j2ee.platform value to 1.6, as well as javac.source
and javac.target values, save the file, return to projects tab, right
click on the project, choose properties, click on the Run tab, and
select GlassFish V3 Domain from the Server popup menu, click on OK.

This procedure is the same for any project construct with an older
version of GlassFish.
Now, as far as the javaee5 tutorial is concerned, you should read the
tutorial itself which explains how to initiate the project so that the
server be recognized.
And last, the javaee5 tutorial is built with javaee5 in mind, and
NetBeans 6.8 is tailored for javaee6, so maybe it will be better to
learn the javaee6 tutorial, or install NetBeans 6.7.1.

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en