[java ee programming] Lab 4002 - Where are the servlets examples?

2009-02-12 Thread miga

I'm trying to find the servlet example supposedly in Netbeans samples
web, but I cannot find it.

Do I miss something? (Netbeans 6.5).

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[java ee programming] Re: Lab 4002 - Where are the servlets examples?

2009-02-12 Thread miga



On 12 fév, 21:06, miga  wrote:
> I'm trying to find the servlet example supposedly in Netbeans samples
> web, but I cannot find it.
>
> Do I miss something? (Netbeans 6.5).
Reply to myself. Redownloading Netbeans 6.5 and the servlet examples
appear when installing Tomcat.

It might be worth indicated in the lab to install Tomcat when
installing Netbeans.

It does not seem to make the examples appear when installing Tomcat
afterwards (at least I've not found them).

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[java ee programming] Glassfish time out launch

2009-02-13 Thread miga

Is there a way to increase the default 10 s time out launch time of
Glassfish?

Each time I try to run a web application within Netbeans it fails
because the server has not finished to load within 10 s, so that I
have to relaunch the web application once the server has finished to
start.

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[java ee programming] Re: Glassfish time out launch

2009-02-14 Thread miga



On 14 fév, 05:58, greenbean  wrote:
> Try Tools>Servers>GlassFish V2, then select Options tab.  I think the
> default Startup Timeout for GlassFish V2 is 288 sec and Deplotmnet
> Timeout is 144s.
Thank you very much, it works perfectly for Glassfish V2. I don't see
the same options for Glassfish V3.

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[java ee programming] Re: How to install Spring plugins for Netbeans(LAB-4913)

2009-02-18 Thread miga



On 19 fév, 06:40, Mark Shen  wrote:
> Hi,
>
> I try to install Spring plugins when I follow the LAB-4913.
>
> But I can not see the three Spring plugins in available plugins list.I
> confuse how to install the three plugins.
It appears that Spring framework and Spring MVC are installed with
Netbeans 6.5 JavaEE and JavaWeb bundle.
I think this is the same with Netbeans 6.1. Check the libraries in
Tools.
I'm not sure about the Spring beans plugin. You might try to skip the
installation plugins and see if the sample works.

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[java ee programming] Re: Help my with homework

2009-02-20 Thread miga



On 20 fév, 20:56, Biljana Biljana  wrote:
> I try to do my #3 homwork, I have problem:
> For those who knew:
> in index.jsp i added
> 
>     <%
>     String myparameter = "Passion";
>     String username = request.getParameter("username");
>     if ( username != null && username.length() > 0 ) {
>     %>
>     
I think you should have /middle.jsp.
And from what I've understand, the parameter should be nested in
jsp:forward

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[java ee programming] Re: LAB 4003 add parameter question

2009-02-22 Thread miga



On 22 fév, 17:53, Artashes Hovasapyan 
wrote:
> Strange thing... I was just doing the homework myself and strangely enough I
> can't find the *middle.jsp* file.
You have to create it as stated implicitely by the homework.

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: Fw: [java ee programming] Re: Want to unsubscribe

2009-02-27 Thread miga



On 27 fév, 23:14, "Evans"  wrote:
> Evans,

>
> Send a blank email to this address: 
> j2ee-programming-with-passion+unsubscr...@googlegroups.com
Actually, unless I'm wrong, the right address to unsubscribe may be:
j2ee-programming-with-passion-unsubscr...@googlegroups.com
Note the minus sign before unsubscribe instead of the plus sign before
unsubscribe.

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[java ee programming] Re: Tutorial Bundle link - does not work....

2009-03-20 Thread miga



On 20 mar, 04:15, Ronald Ron  wrote:
> It's
> a tutorial link 
> -http://java.sun.com/javaee/5/docs/tutorial/information/download.html.
> I'm suppose to download some examples from the link but it doesn't
> work.
It works for me right now, maybe you are supposed to register to Sun
to download it (I'm not sure here).
Here is the access to the tutorial on line:
http://java.sun.com/javaee/5/docs/tutorial/doc/

You may click on pdf and then download it or retry the download
button. (I've downloaded directly the zip file, I have not used the
Manager to do it), but the pdf is better to browse and search.

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[java ee programming] Re: JSP 2.0 Simple Tag Handler and Tag Files

2009-04-08 Thread miga



On 9 avr, 01:55, Tamilselvi Abbu  wrote:
> Hi,
> Can someone please help me? I couldn't locate "Tomcat JSP Example' under
> samples folder in my Netbeans IDE 6.5 as mentioned in JSP 2.0 Simple Tag
> Handler and Tag files exercise 1 (Exercise 1: Build and run "Simple Tag
> Handlers and JSP Fragments" part of the "Tomcat JSP Example" sample
> application).
You need to install Tomcat, then you will find them under samples,
Java Web, Servlet Examples.
I had to reinstall Netbeans and customize the installation with tomcat
installation to see them, a mere installation of tomcat from an
existing Netbeans did not give me the examples. Your experience may be
better.

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[java ee programming] Re: The Course

2009-05-09 Thread miga



On May 9, 4:03 pm, André Lima  wrote:
> Hello,
> well...there is a deadline to submit a homework(2 weeks of a the last
> class)...btw,I didnt understood the concept of the "last class".what
> is the meaning???
The last lesson would be more explicit. For example, Introduction to
this course is the first lesson, JavaEE Overview the second, etc.
> I alreay readed some step-by-step of the hibernate
> and saw some labs(that is other thing that i dont understand).
The labs or laboratories are exercises that the teacher explains.  You
have to follow the instructions and study them. At the end of each
laboratory is eventually a homework you should do and send.

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[java ee programming] Re: deadline

2009-05-10 Thread miga



On May 10, 9:01 pm, merve t  wrote:
> hi, my english is not enough so i m not sure.
> is the deadline for the homeworks 27th june or 14th july?
> thanks for the reply and the course.
As I interpret it, and as specified in the FAQ:
- the last day of the course is June 27th.
- you have 14 days more to send all your homeworks, so that means the
deadline for sending the homeworks is July 11st
- the last day to send your personal data is July 14th

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[java ee programming] Re: Homeworks

2009-05-11 Thread miga



On May 11, 10:56 pm, André Lima  wrote:
> How many homeworks I have to do to get the certification???
> For example,I interest to make the Hibernate course...have i to make
> all the homeworks of j2ee course or only the hibernate course??
You have to do all the homeworks for the j2ee course, not only those
for the hibernate lessons.

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[java ee programming] Re: How many home works should i submit for Chapter 7(JSF)?

2009-05-12 Thread miga



On May 11, 11:11 pm, Karl  wrote:
> Hi Sang,
> I hadn't seen the "(homework #14)" tag on this item last I checked so at a 
> glance it was unclear. Was text recently added or did I miss it?
Check the schedule again, the lesson is tagged with homework # 14.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[java ee programming] Re: How many home works should i submit for Chapter 7(JSF)?

2009-05-12 Thread miga



On May 12, 8:44 am, mak pandian  wrote:
> What do you mean?
> Should i submit the home work only which has dates?
Yes, exactly. You are not supposed to send homeworks which have no
date, since there are not part of the course at the moment.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[java ee programming] Re: Lab 4104 – 2 Questions:

2009-05-13 Thread miga



On May 13, 8:19 pm, cruzc  wrote:
> Hello dear members of this group.
>
> I almost finished the lab 4104 homework but I need some help, please.
>
> FIRST QUESTION.

> How can I select Sun Java System Application Server 9?
You don't need to use this server, it is very old. You may choose
either Glassfish V2 or V3 as you want. From my experience V2 is more
stable.


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[java ee programming] Re: (generic) question about homework and course

2009-05-20 Thread miga



On May 20, 8:59 am, Luca Morettoni  wrote:
> Hello list, this is my first post on this list. I like the Sang course
> and now I start the JavaEE course, just one question: I can submit the
> homework now and get "certified" on the next course or is better to wait
> the fall starting? In the FAQ I just read that the homework are keep for
> 2 
> year:http://www.javapassion.com/coursefaq.html#If_I_take_this_course_again...
You have already the answer, have not you?
You may submit the homeworks when you want, but I'd rather submit them
at the fall, because then you may study the course at your own pace
beginning now, eventually meanwhile make the homework or not, then at
the fall check again your homeworks and you will probably find that
you can rework them again or that you have not understand perfectly
some of the explained concepts.


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[java ee programming] Re: GlassFish startUp

2009-05-25 Thread miga



On May 26, 5:45 am, gavi grandea  wrote:
> Hello,
>
> could somebody help me how to start GlassFish v2 without using NetBeans IDE. 
> I already found startser.bat and its asking me username, password and 
> masterpassword.
You may read the following url:
https://glassfish.dev.java.net/downloads/quickstart/index.html

Click on the relevant starting guide.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[java ee programming] Re: Future plan for Java EE course

2009-07-08 Thread miga



On Jul 9, 7:39 am, rajesh sawant  wrote:
> Hello All,
> Can any one explain me what us difference between J2EE and Java EE?
There is no intrinsic difference, though the internals have
considerably changed.
Up to version 1.4, it was named J2EE, the newer versions are named
Java EE.
There is also a different versioning scheme, after 1.4, it is merely
5.
So you have:
J2EE 1.4 and the next version is Java EE 5.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: Odp: [java ee programming] Future plan for Java EE course

2009-07-11 Thread miga



On Jul 11, 10:53 am, Rafał Laczek  wrote:
>
> Should I continue on JEE programming Advanced or rather on JEE
> programming Basics?
I would say rather the basics part, it is already quite a jump to go
from java basics course to java ee course without at least some months
of experience. In the original FAQ, it was recommanded to have at
least 6 months of experience in java programming to follow with
benefits the java ee course.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[java ee programming] Re: when does next class start?

2009-07-14 Thread miga



On 14 juil, 19:35, randoker  wrote:
> does it make any sense to work through the current materials?
Certainly, as the course covers a large palette of subjects, it is
better to begin it as soon as you can.
Though, evidently you may not have so much help as when the course
really starts.
--~--~-~--~~~---~--~~
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: When will start Java EE Courses the 16th session?

2009-07-14 Thread miga



On 13 juil, 10:01, Valercik  wrote:
> Hi Sang Shin !
>
> When will start the next 16th session of Java EE ?
>
> Thanks for answer , but for colleagues - let's begin the next JEE course 
> together! :)
See the FAQ for answer on this question.
As for the a real date, you have to wait until Mr Sang Shin updates
the home page.

--~--~-~--~~~---~--~~
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:

2009-07-18 Thread miga



On 18 juil, 23:01, ANUJ KUMAR  wrote:
> how many zero's are there at the end of 60 factorial
A solution in French: http://educmath.inrp.fr/applet/exprime/factge.pdf
--~--~-~--~~~---~--~~
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: Certificates for the 15th session (2009 Spring session) are ready

2009-07-20 Thread miga



On Jul 20, 11:50 am, Bhama Sridharan  wrote:
> Hi
> I took the 15th J2EE course, but I am unable to see the list of graduates at
> the link below. (only till the 14th session is visible) Is there any problem
> with the website?
It works for me, maybe you have to wait a bit till the updated site
will be visible to you (or empty your web browser cache).
--~--~-~--~~~---~--~~
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: broken link

2009-07-24 Thread miga



On 24 juil, 19:20, parinita ghorpade  wrote:
> Hi,
>
> Does any one have the correct link for Online lab document: NetBeans IDE 5.0 
> Tutorial for Tag Libraries
>
> It belongs to jsp1.2 custom tag course.
You have to download the Netbeans 5.0 Doc archive from here:
http://www.netbeans.org/kb/archive/
After unzipping it and launch the index.html file in your browser, you
follow in Quick Start Guides the Web Applications link, then at the
end of the page, the For Tag Libraries  link.
--~--~-~--~~~---~--~~
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: How to generate WSDL to SOAP message (request and response) ?

2009-08-06 Thread miga



On Aug 6, 1:10 pm, peter  wrote:
> Hi ,
> Anyone help me please. If i want to show soap message (request and
> response) when using WSDL
Not sure if it will help you, but you can use WSMonitor to see the
soap message. See the WebServices course for that.
--~--~-~--~~~---~--~~
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: pre requisites for J2E

2009-08-17 Thread miga



On Aug 17, 11:12 am, nShailesh  wrote:
> Hi,
> I am new to this course .
> I have gone through the prerequisites for this course.
> I know java and html but not XML.
>
> The site says you need a basic understanding of xml but there are more
> than 5 to 6 tutorials of xml on w3schools.com like xml , xpath,xquery,
> xslt etc etc.
> So what does basic xml means and which of the above tuts I should go
> through to have a basic understanding of xml ?
I'd recommand to go through all of those tutorials, then can be done
relatively quickly and they will help you. Therafter, during the
course, you may always return to them to fix an idea or two.
--~--~-~--~~~---~--~~
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] 16th Session starts today

2009-09-01 Thread miga

As you probably already know, the 16th session of the Java EE (J2EE)
Progamming with Passion! begins today.

You will find the course materials on the course home page.

To get the most of this course, please read the FAQ.

As a quick links reminder, read the Welcome message of this discussion
group home page.

And finally, read How to work with this course at Pages on this
discussion group.

Happy Java EE with Passion coding!
--~--~-~--~~~---~--~~
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: Do i need to install any software

2009-09-01 Thread miga



On Sep 2, 8:38 am, jk  wrote:
> Hi,
>
> Do i need to install any software for the course? Overview mentioned
> Netbeans & Eclipse, do I need to install both? Tks!
Netbeans only.

--~--~-~--~~~---~--~~
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: which netbeans bundle to download

2009-09-03 Thread miga



On Sep 3, 1:54 pm, vk02720  wrote:
> Does 6.7 comes with an integrated server to test the apps?
Yes, several ones.
> BTW, what server is recommended to be used for this course? GlassFish
> or Sun App Server?
Glassfish is just the successor of Sun App Server.
> Does Netbeans comes bundled with both or they have
> to be downloaded seperately?
Netbeans 6.7 comes with Glassfish v2, Glassfish v3 prelude, and Apache
Tomcat 6.18.
> One of the course intro doc appears somewhat old and talks about
> Netbeans 5.5 - not that I am saying you cannot use that but should
> probably use the more recent ones..
Yes, it was the version of Netbeans available when it was written.

--~--~-~--~~~---~--~~
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: Where is the domain-directory?

2009-09-04 Thread miga



On 4 sep, 12:09, peeter brunch  wrote:
> Hi,
>
> Where is the domain-directory?
The domain directory is the directory where the application is
deployed. Inside Netbeans, there is an in-place deployment, so that
the domain directory is the build directory, or the dist directory is
you build and clean the project, thus creating a war file.
Otherwise, the domain directory is inside glassfish/domains/domain1
either applications or autodeploy subdirectory if you deploy by hand.

Then depending on version of Netbeans/Glassifh you use, glassfish
directory is inside:
SUNWappserver for Glassfish v2
sges-v3-prelude for Glassfish v3-prelude
glassfish-v3-b57 for Glassfidh v3 (at this date of writing)

And if Glassfish have been installed with Netbeans, those directories
are inside Netbeans directory.

At least on a Mac.
--~--~-~--~~~---~--~~
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: Need Help Ex1

2009-09-05 Thread miga



On Sep 6, 4:15 am, Srilaxmi Seetharamachar 
wrote:
> Hello,
>    I installed netbean, sdk  and I  am on the MyFirstWebApp project.After 
> when I run the project, I don't  see Build Successful at the bottom of the 
> screen in netbean. But I see glassfish server start staus.When I tried to 
> open the page on browser I see below message on the browser. Please 
> help.Thanks in advance
> Sri
> HTTP Status 404 - type Status reportmessagedescriptionThe requested resource 
> () is not available.Sun GlassFish Enterprise Server v2.1
Which version of Netbeans have you installed?
--~--~-~--~~~---~--~~
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: WAR vs. EAR vs. JAR

2009-09-06 Thread miga



On 6 sep, 14:28, Martin Skurla  wrote:
> Hello,
>
> I just start with JavaEE but i dont understand the difference between
> WAR (Web ARchive) and EAR (Enterprise ARchive). What is the difference
> between them? And how are they related to JAR (zip compressed Java
> ARchive) ???
It is explained in the lesson, but anyway here is another explanation:
http://geekexplains.blogspot.com/2008/06/jar-war-and-ear-what-are-these-files.html
--~--~-~--~~~---~--~~
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: Error: Bbookstore1.filters.OrderFilter has unsupported major or minor version numbers...

2009-09-08 Thread miga



On 3 sep, 22:21, "p. stephen wille"  wrote:
> Anyone else having this prob?
> I open the Bookstore1 project, deploy then run, and get the following error 
> message.  DB is installed,and I can successfully execute SQL statements in 
> Netbeans.
>
> Error message from running Bookstore1
>
> Deploying application in domain failed; Error loading deployment descriptors 
> for module [bookstore1] -- UnsupportedClassVersionError: Class 
> com.sun.bookstore1.filters.OrderFilter has unsupported major or minor version 
> numbers, which are greater than those found in the Java Runtime Environment 
> version 1.7.0-ea
> H:\Program 
> Files\J2EE\javaeetutorial5\examples\web\bookstore1\nbproject\build-impl.xml 
> :569: The module has not been deployed.
>
>  *I'm on Vista64
This is generally the sign that the version of java server/java in
netbeans nbproject/project.properties file are not in conformance with
what is properties when accessing with contextual menu.
So, try to modify what is in project.properties file corresponding to
those lines:
j2ee.platform=1.5
j2ee.server.type=gfv3

(or something similar for you)

Then save your changes, right click on the project, choose properties,
and now check the java server in run, change it if necessary. Undeploy
any application on the server, stop it, and run again the project.
--~--~-~--~~~---~--~~
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: Populating the Example Dat abase needs password file‏

2009-09-08 Thread miga



On 8 sep, 11:41, peeter brunch  wrote:
> During the build of Example Database for Bookstore1 project, the build 
> process requires a password file and to specify it in the 
> \nbproject\project.properties file.
>
> Could someone provide the steps to accomplish these requirements for 
> popuplating the database? Pls see attachment for error message returned from 
> the build process.
As explained in the javaeetutorial5, you should create a
build.properties file inside bp-project, based on
build.properties.sample.
In it, you set what is required (it is explained in the file itself).
The file where the password is noted is common/admin-password.txt
(adapt it to your system, I'm on a Mac). If you hava not changed the
password of the Glassfish server, it is adminadmin.

PS: Could you please avoid sending attachment, as most of the time you
pass text, you may as well paste and copy it directly inside the
email.

--~--~-~--~~~---~--~~
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: Build Failed

2009-09-08 Thread miga



On 9 sep, 03:41, Dhwani Patel  wrote:
> Hello all,
>
> I was working with Netbeans nicely but i dont know what did i changed [
> think not anything :(  ] that leads now to build failed error while running
> any project. I can build it successfully, test it also. But when i hit Run
> for any project it gives me following error message :
>
> deploy?path=C:\Users\Dhwani\Desktop\Javapassion - J2EE\Homework\Sample
> Projects\servletadv\samples\hello2\build\web&name=hello2&force=true&propert 
> ies=keepSessions=true
> failed on GlassFish V3 Prelude
> C:\Users\Dhwani\Desktop\Javapassion - J2EE\Homework\Sample
> Projects\servletadv\samples\hello2\nbproject\build-impl.xml:545: The module
> has not been deployed.
> BUILD FAILED (total time: 40 seconds)
>
> When i click on the build-impl.xml it shows me below line
>
>          forceRedeploy="${forceRedeploy}"/>
>
> not sure how to resolve it
> Can anyone help me please ?
Not sure, but I would try to see if there is any web application
deployed on the server, and if true, I would undeploy it.

--~--~-~--~~~---~--~~
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: New to J2EE Programming with Passion.

2009-09-09 Thread miga



On Sep 10, 3:48 am, rajames429  wrote:
> Group,
>
> I am new to this course. I have installed NetBeans 6.7.1 (complete)
> and I have used the IDE for several years (off-and-on). I use the
> current NetBeans for a school that I attend.
>
> I have read the FAQ and I do not see a list of software applicatrions
> that I need for the course. Is this because NetBeans 6.7.1 is all that
> I need?
You'll find in each lab the needed software.

>
> I am used to having to download the J2EE platform. Do I need to do
> this or is some form of it installed with NetBeans ?
It is installed with Netbeans.

>
> I run Windows XP on this development machine.
>
> I have the following F/OSS installed:
> Apache Ant (v1.7.0), Apache Maven (v2.0.8), Apache Tomcat (v6.0.18)
> Glassfish Server ( glassfish-v2, glassfishv2ur2, glassfish-v3-prelude,
> sges-v3-prelude)
> Hibernate (v3.2)
> JDK (v1.6.0_14)
> JavaFX SDK (v1.2)
> MySQL (v5.10.38)
> NetBeans (v6.7.1) -- I downloaded and installed the ALL package
> Spring Framework (v2.5)
>
> These are installed and configured to run on my system.
>
> Do I need to download and install any other software for this class ?
Eventually you will have to install some in due time.

--~--~-~--~~~---~--~~
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: Populating the Example Dat abase needs password file‏

2009-09-10 Thread miga



On Sep 10, 9:21 am, peeter brunch  wrote:
> Hi everyone,
>
> I used notepad to open the property file and rename the file. Now all the 
> problems have gone. Thanks for the help.
>
> Cheers
>
> From: peeterbru...@hotmail.com
> To: migat...@gmail.com; java-ee-j2ee-programming-with-passion@googlegroups.com
> Subject: RE: [java ee programming] Re: Populating the Example Database needs 
> password file‏
> Date: Thu, 10 Sep 2009 04:45:04 +
>
> Thanks for the clue. I have edited my build.properties file to include the 
> passwordfile definition. But the build returned with the same failure message 
> "javaee.server.passwordfile not specified".
>
> My changes to the build.properties file are highlighted as below:
>
> # Set the property javaee.home, using the path to your
> # GlassFish installation.
> # C:/Program Files/glassfish-v3 is the GlassFish v3 default installation
> # path on Windows.
> #
> javaee.home=C:/Program Files (x86)/sges-v3-prelude
>
> # Set the property javaee.tutorial.home to the location where you
> # installed the Java EE Tutorial bundle.
> #
> javaee.tutorial.home=E:/techdoc/J2ee/javaee-5-doc-tutorial-1.0_05/javaeetut 
> orial5
>
> # machine name (or the IP address) where the applications will be deployed.
> javaee.server.name=localhost
>
> # port number where GlassFish applications are accessed by users
> javaee.server.port=8080
>
> # port number where the Admin Console of GlassFish is available
> javaee.adminserver.port=4848
>
> # Uncomment the property javaee.server.username,
> # and replace the administrator username of the app-server
> javaee.server.username=admin
>
> # Uncomment the property javaee.server.passwordfile,
> # and replace the following line to point to a file that
> # contains the admin password for your app-server.
> # The file should contain the password in the following line:
> #
> # AS_ADMIN_PASSWORD=adminadmin
> #
> # Notice that the password is adminadmin since this is
> # the default password used by GlassFish.
> #
> javaee.server.passwordfile=${javaee.tutorial.home}/examples/common/admin-pa 
> ssword.txt
>
> appserver.instance=server
>
> # Uncomment and set this property to the location of the browser you
> # choose to launch when an application is deployed.
> # On Windows and Mac OS X the OS default browser is used.
> #default.browser=/Applications/Firefox.app/Contents/MacOS/firefox-bin
>
> # Database vendor property for db tasks
> # JavaDB is the default database vendor. See the settings in javadb.properties
> db.vendor=javadb
>
> # Digital certificate properties for mutual authentication
> keystore=${javaee.tutorial.home}/examples/jaxws/simpleclient-cert/support/c 
> lient_keystore.jks
> truststore=${javaee.home}/domains/domain1/config/cacerts.jks
> keystore.password=changeit
> truststore.password=changeit
>
> Is anything wrong with my changes? I use MS WORD to open the sample file and 
> edit/save the changes(since I do not have the right software to open the 
> sample or properties  type file type in Window Vista). I renamed the file 
> with Properties extension after saving the file. Would it be possible that 
> Word would corrupt the properties file or its internal format so Build 
> process is unable to read the file properly.The size of the original sample 
> file is 2KB but the edited file is 13KB.
>  I am attaching my property file for perusing.
>
> Can anyone whose has successfully populating the Bookstore1 example database 
> send me their build.propertiies file so I can use it to build my database? 
> Thanks in advance.
>
> P.S:
> I always try to send mail without an attachment. But I cannot cut and paste 
> the screen shots from Dos command prompt terminal windows. Pls advise if 
> there is any proper method to cut and paste text content from Dos. Sorry for 
> the inconvenience if that this might cause.
>
>
>
>
>
> > Date: Tue, 8 Sep 2009 20:36:58 -0700
> > Subject: [java ee programming] Re: Populating the Example Database needs 
> > password file‏
> > From: migat...@gmail.com
> > To: java-ee-j2ee-programming-with-passion@googlegroups.com
>
> > On 8 sep, 11:41, peeter brunch  wrote:
> > > During the build of Example Database for Bookstore1 project, the build 
> > > process requires a password file and to specify it in the 
> > > \nbproject\project.properties file.
>
> > > Could someone provide the steps to accomplish these requirements for 
> > > popuplating the database? Pls see attachment for error message returned 
> > > from the build process.
> > As explained in the javaeetutorial5, you should create a
> > build.properties file inside bp-project, based on
> > build.properties.sample.
> > In it, you set what is required (it is explained in the file itself).
> > The file where the password is noted is common/admin-password.txt
> > (adapt it to your system, I'm on a Mac). If you hava not changed the
> > password of the Glassfish server, it is adminadmin.
>
> > PS: Could you please avoid sending attachment, as most of the time you
> > pass te

[java ee programming] Re: Populating the Example Dat abase needs password file‏

2009-09-10 Thread miga



On Sep 10, 9:21 am, peeter brunch  wrote:
> Hi everyone,
>
> I used notepad to open the property file and rename the file. Now all the 
> problems have gone. Thanks for the help.
Nice, yes always use notepad to change a file.

> > PS: Could you please avoid sending attachment, as most of the time you
> > pass text, you may as well paste and copy it directly inside the
> > email.
Cannot you paste and copy the text inside the terminal? I'm sorry to
annoy you with this, but this is impossible to view an image unless
downloading it before moderating the post, so that moderators then
take the risk to download unwanted things if they check the image
contents before moderation (not good for them), or to let pass
unwanted things if not checking (not good either for the numerous
readers here).

--~--~-~--~~~---~--~~
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: Struts2

2009-09-21 Thread miga



On Sep 21, 8:39 pm, Alfredo Torres 
wrote:
> Hi,
>
>   I have read the struts2 presentaiton and hands on lab 2 times but i
> dont get it, i can not understand the structure, is there any other
> site that explain struts2 in more detail from the beggining whithout
> mix code??
Apart from this official struts site: http://struts.apache.org/, I
don't see.
--~--~-~--~~~---~--~~
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: glassfish or apache

2009-10-11 Thread miga



On Oct 11, 6:25 pm, diego rangel  wrote:
> hello apreciated friends:
>
> i am in the j2ee basics course, but id like to know when must i work with the 
> apache server?
> -when i must to download jboss or apache?
> -can i go working with glasfish?
I think this is mentioned in each lab, and in case a specific server
is needed, it is explained how to install it. Most of the labs uses
Glassfish, some Tomcat, and other servers.
I'd recommend waiting till a lab specifies to install some particular
server, most of the servers needed for the labs are provided with the
full installation of NetBeans.
--~--~-~--~~~---~--~~
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: problem with .war files being read only

2009-10-18 Thread miga



On Oct 18, 7:47 pm, Eric Lonnett  wrote:
> Hello,
>
> I am a little behind, but was able to do the homework/lab #1 successfully. I
> am now on the homework/lab #2, and this is only allowing me to "read only"
> the sample files in netbeans, Same problem with homework/lab #3. This is
> really frustrating me as to why. Can someone please help me with this fix?
> thanks in advance...
See at the top of=
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en
--~--~-~--~~~---~--~~
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: Unable to run Duke's Bookstore sample applications

2009-10-21 Thread miga



On Oct 21, 12:19 am, Chetana Shenoy  wrote:
> Hello everyone:
>      I am unable to run the Bookstore sample applications. I get the 
> following exception on running it.
>  package javax.persistence does not exist
>         import javax.persistence.Entity;
>
> I am wondering if I have missed any libraries. I am running it on glassfish 
> v3 and using Netbeans 6.7.1 and JDK 1.5
Add TopLink Essentials as library to the project.
--~--~-~--~~~---~--~~
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: problem with .war files being read only

2009-10-21 Thread miga



On Oct 18, 7:47 pm, Eric Lonnett  wrote:
> Hello,
>
> I am a little behind, but was able to do the homework/lab #1 successfully. I
> am now on the homework/lab #2, and this is only allowing me to "read only"
> the sample files in netbeans, Same problem with homework/lab #3. This is
> really frustrating me as to why. Can someone please help me with this fix?
> thanks in advance...
Eric, try the link I send to you privately to download the lab
rezipped with correct permissions.
Hope it helps.
--~--~-~--~~~---~--~~
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: no dates for a few items of the course

2009-10-23 Thread miga



On Oct 23, 4:13 pm, Eudis René Duarte Sanguino
 wrote:
> hi
> I believe that the dates set for this course are very short and I don't see 
> dates for some of the items, for example:
As explained on the course home page, the dates are only indicative.
When there are no dates on a lab, that means that it is not part of
the course.
--~--~-~--~~~---~--~~
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: "javapassion.com" is back!!

2010-02-11 Thread miga


On Feb 11, 11:30 pm, Sam Zhang  wrote:
> New class?

Please see the root page:
http://www.javapassion.com/

-- 
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  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


[java ee programming] Re: Homework 1

2010-02-14 Thread miga


On Feb 14, 10:49 pm, Edward  wrote:
> 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?
Just click on the XML button at the top right side of the file.
It is indicated in the screenshot by a blue circle around XML.

-- 
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: Homework 1

2010-02-15 Thread miga
Edward, post on the forum if you want an answer.
That said. Just create a new J2EE application from the samples in
NetBeans (a full one as the one in the javaee tutorial). It will
activate all that is needed. Then, normally you could see the web.xml
file right. If not, there is something broken in your NetBeans
installation and I don't know what.
If you can see it correctly, mimic the various configurations files
you see in the javaee application and transpose them in the tutorial,
it should work.
At least, I've done the exercises from the tutorial without any
problems, except those ones which are specific to javaee5.

-- 
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: Problem with Servlets Basics - hello2 project

2010-02-15 Thread miga


On Feb 16, 1:25 am, Sarvesh  wrote:
> I am getting the below error when trying to RUN the "hello2" project from 
> Servletbasics lab. I am using Netbeans 6.7.1
> Could someone please provide the solution ? Thanks in advance - Sarvesh
Please, first do not use a thread which has nothing to do with your
problem to ask a question.
Then, try if this helps:
http://66.102.9.132/search?q=cache:E3BvWNCEPlIJ:www.adam-bien.com/roller/abien/entry/how_to_fix_the_libs+CopyLibs+Adam+Bien&cd=1&hl=fr&ct=clnk&client=safari

Notice is the google cache as the original page seems at the moment
not to be available.

-- 
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-15 Thread miga


On 14 fév, 23:56, Edward  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.
>
> When I try to build it, it doesn't seem to build:
Edward, post on the forum if you want an answer.
That said. Just create a new J2EE application from the samples in
NetBeans (a full one as the one in the javaee tutorial). It will
activate all that is needed. Then, normally you could see the web.xml
file right. If not, there is something broken in your NetBeans
installation and I don't know what.
If you can see it correctly, mimic the various configurations files
you see in the javaee application and transpose them in the tutorial,
it should work.
At least, I've done the exercises from the tutorial without any
problems, except those ones which are specific to javaee5.

-- 
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: 4005_servletadv.zip

2010-02-17 Thread miga


On 17 fév, 04:29, "parini...@hotmail.com"
 wrote:
> Cannot get to 4005_servletadv.zip file
Sorry for the trouble, please try again, the zip file should be
accessible now.

-- 
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: homework

2010-02-18 Thread miga


On Feb 18, 10:20 am, "Zofia Zagubieniak"  wrote:
> Hi,
>
> Do enyone know why homeworks emails are rejected. I'm registered on this 
> course
Replace the last part of the email address - after the @ sign - with
javapassion.com

-- 
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: 4005_servletadv.zip

2010-02-18 Thread miga


On 18 fév, 03:01, parinita ghorpade  wrote:
>  4101_jsfhelloworld.zip
>
> 4104_jsfguessnumber.zip
>
> 4103_jsftags.zip
Sorry for the trouble. Please, retry again, they should work now.

-- 
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: Expression Language zip file

2010-02-18 Thread miga


On 18 fév, 14:02, "Zofia Zagubieniak"  wrote:
> Hi,
>
> 4006_el.zip file is damaged. I can't download it.
Sorry for the trouble, please try to download it again, it should work
now.

-- 
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] Lab 4001 webappstructure restored

2010-02-18 Thread miga
Emil, please try again, the file has been restored, and sorry for the
trouble.

-- 
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: ServletExamples J2EE 1.4

2010-02-19 Thread miga


On Feb 19, 7:59 pm, jmt0806  wrote:
> There seems to be an issue with running the ServletExamples
> application on this machine. Error message:
I'm not sure you may run the j2ee1.4 examples with GlassFish v3. Try
with Tomcat.

-- 
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: 4018_webappsecurity.zip

2010-02-22 Thread miga


On 22 fév, 15:15, "Zofia Zagubieniak"  wrote:
> Hi,
>
> I can't download 4018_webappsecurity.zip file
>
> HTTP 404 message is displayed
>
> The same problem I had with 4015 LAB but it is available now .
Please, try again, it should work now.

-- 
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: hi

2010-02-22 Thread miga


On Feb 23, 3:40 am, Munkhdalai Sain  wrote:
> hi guys,
> Someone sent you homework? I sent homework. However i received error
> message.
Please, check that you replace the last part of the email address with
javapassion.com instead of sun.com.

-- 
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: ServletExamples J2EE 1.4

2010-02-23 Thread miga


On Feb 23, 4:51 pm, jmt0806  wrote:
> Now there seems to be an issue with running the JSPExamples (J2EE1.4)
> Samples:
>
> G:\My Documents\NetBeansProjects\J2EE\JSPExamples(J2EE1.4)1\nbproject
> \build-impl.xml:535: Problem: failed to create task or type copyfiles
> Cause: The name is undefined.
> Action: Check the spelling.
> Action: Check that any custom tasks/types have been declared.
> Action: Check that any / declarations have taken
> place.
> BUILD FAILED (total time: 3 seconds)
>
> Tried running with Tomcat and received this error.
>
> Netbeans IDE 6.8
>
> Any suggestions?
Do you check the jdk/j2ee version, it should be 1.4. I've not tried
them with NetBeans 6.8, just with NetBeans 6.5.1, and 6.7.1 so I
cannot say for sure. Check if you have samples in NetBeans (create a
new project and click on samples (or maybe examples) as category),
there should be some project with tomcat. If you succeed in building
those samples, then you may compare with diff (or any other similar
command line tool or graphical one) the differences between project,
especially project properties, build.xml and the like. Then hacking a
bit, you should probably succeed in running the JSPExamples.

-- 
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: ServletExamples J2EE 1.4

2010-02-23 Thread miga


On 23 fév, 16:51, jmt0806  wrote:
> Now there seems to be an issue with running the JSPExamples (J2EE1.4)
> Samples:
>
> G:\My Documents\NetBeansProjects\J2EE\JSPExamples(J2EE1.4)1\nbproject
> \build-impl.xml:535: Problem: failed to create task or type copyfiles
> Cause: The name is undefined.
> Action: Check the spelling.
> Action: Check that any custom tasks/types have been declared.
> Action: Check that any / declarations have taken
> place.
> BUILD FAILED (total time: 3 seconds)
>
Directly from Mr Sang Shin:
the solution is to remove the (J2EE1.4) part of the name of the
project.
Otherwise the labs have been updated to use the examples from the
samples directory, not creating them.
Just for fun, do both. You may learn something.

-- 
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: I can't submit my exercise to j2eehomewo...@sun.com

2010-03-04 Thread miga


On 4 mar, 11:16, Ray Disc  wrote:
> I submitted my homeworks to j2eehomewo...@sun.com but have not completed the
> course Java EE (J2EE) Basics yet. Are those emails sent to that address
> forwarded to j2eehomewo...@javapassion.com? If not, do I have to resubmit
> the homeworks that were sent to the old address?
If you did not received Mail Delivery Daemon, then you may assume they
were received.
For the reminder, please use the new email address.

PS: please, avoid changing the email subject, it makes it difficult to
find a post.

-- 
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: "Web Services and SOA Programming" 5-day Instructor-led Codcamp

2010-03-09 Thread miga


On Mar 10, 3:09 am, kavitha rengasamy 
wrote:
> Hi!
>
> Is it online or inperson?
It is in person.

-- 
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: lab 4001 : web.xml is not created after build and run

2010-03-09 Thread miga


On Mar 10, 4:04 am, neetika mittal  wrote:
> Hi All,
>
>   Need help again.I don't see web.xml under WEB_INF.
>   Looks like it is not generated by the IDE.I can see sun-web.xml.
>   Can any body tell what is missing in installation .I have Net Bean 6.8  
> download 
>    which  says  "ALL" and java 6.
By default, NetBeans 6.8 uses java ee 6, which does not require any
more web.xml as it uses java ee6 annotations. To get the same
structure as in the lab, you should choose java ee 5 when creating the
project in the Server and Settings tab under Java EE Version popup
menu.
It you don't have this version of java ee, you should install it
before proceeding.
It applies to all labs in the course.

>
> Regards
> Neetika

-- 
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: NetBeans 6.8 / JSE6 / JEE6

2010-04-05 Thread miga
I wonder if I have been explicit enough. So to allow another page than
the index.jsp, or index.html files (default) to be the welcome file,
you may proceed as follows:

1 - When creating the servlet, check the Add information to deployment
descriptor (web.xml) in the second panel of the servlet creation named
Configure Servlet Deployment
This will creates a web.xml, which will takes the information from
what you have entered.
Note that this does not impede to have annotations. It will eventually
override annotations if you specify values different from the ones in
annotations.
Also it will override the default values - that is what we do here:
overriding the default index.jsp/index.html.

See section

2 - Create another jsp file, say myOwnJSP.jsp

3 - Add to the web.xml the corresponding fragment to override the
default value for welcome list:


  MyOwnJSP.jsp


4 - Run and Enjoy!

References: the Servlet 3.0 final release:
http://cds-esd.sun.com/ESD5/JSCDL/servlet/3.0-final/servlet-3_0-final-spec.pdf?AuthParam=1270463383_a843e2e1ace141dde4075fafdf4dfdd8&TicketId=B%2Fw9lxyETFpNQRRGOVVakA%2Fn&GroupName=CDS&FilePath=/ESD5/JSCDL/servlet/3.0-final/servlet-3_0-final-spec.pdf&File=servlet-3_0-final-spec.pdf

Sections: 8.1.6, 8.2.1, 10.10

And of course, the whole reading is a must.

Michèle

-- 
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: NetBeans 6.8 / JSE6 / JEE6

2010-04-05 Thread miga


On Apr 5, 10:29 pm, Mihai DINCA  wrote:
> Hi Mich�le
>
> Thanks for the tip.
>
> I tested and it works perfectly.
>
> So, the only thing I did was manually
This is not exactly the same thing, because here you have a version
2.5 for the web.xml file, not a version 3.0. But you may also add it
manually of course.
If you want only to have the welcome file in it, proceed as follows:
1. Create the servlet without checking the Add information to
deployment descriptor (web.xml)
2. Create a web.xml document with New->Other->Standard Web Deployment
Descriptor by right-clicking on WEB-INF directory
3. Give it the name web.xml
4. Click on Pages in the newly created web.xml
5. Click on Browse at the right end of the Welcome Files field, expand
the Web Pages folder, click on the jsp you want as welcome file and
click OK.
You will then have a 3.0 version of the web.xml file.
It will have also a default session time-out of 30 seconds:


http://java.sun.com/xml/ns/javaee";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd";>


30



MyOwnJSP.jsp




Michèle

> and choose the jsp you want
> adding a "web.xml" file to the
> WEB-INF directory (the same that contains sun-web.xml) with only this
> content:
> *
> **
>              version="2.5"
>             xmlns="http://java.sun.com/xml/ns/javaee";
>             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>             
> xsi:schemaLocation="http://java.sun.com/xml/ns/javaeehttp://java.sun.com/xml/ns/javaee/web-app_2_5.xsd";>
>     
>         MyOwnServlet6UseDifferentURL
>     
> *
>
> The rest is managed by annotations (automatically added by NetBeans 6.8
> for JEE6), such as:
>
> *...
> @WebServlet(name="MyOwnServlet6",
> urlPatterns={"/MyOwnServlet6UseDifferentURL"})
> public class MyOwnServlet6 extends HttpServlet {
> ...
>
> }*
>
> Hope it helps
> mihai
>
> miga a �crit :
>
>
>
> > I wonder if I have been explicit enough. So to allow another page than
> > the index.jsp, or index.html files (default) to be the welcome file,
> > you may proceed as follows:
>
> > 1 - When creating the servlet, check the Add information to deployment
> > descriptor (web.xml) in the second panel of the servlet creation named
> > Configure Servlet Deployment
> > This will creates a web.xml, which will takes the information from
> > what you have entered.
> > Note that this does not impede to have annotations. It will eventually
> > override annotations if you specify values different from the ones in
> > annotations.
> > Also it will override the default values - that is what we do here:
> > overriding the default index.jsp/index.html.
>
> > See section
>
> > 2 - Create another jsp file, say myOwnJSP.jsp
>
> > 3 - Add to the web.xml the corresponding fragment to override the
> > default value for welcome list:
>
> >     
> >       MyOwnJSP.jsp
> >     
>
> > 4 - Run and Enjoy!
>
> > References: the Servlet 3.0 final release:
> >http://cds-esd.sun.com/ESD5/JSCDL/servlet/3.0-final/servlet-3_0-final...
>
> > Sections: 8.1.6, 8.2.1, 10.10
>
> > And of course, the whole reading is a must.
>
> > Mich�le

-- 
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

To unsubscribe, reply using "remove me" as the subject.


[java ee programming] Re: Clarification on the merge program

2010-04-08 Thread miga
Could you post in java programming course forum instead of this forum?

On Apr 8, 9:53 pm, Manjunath B N  wrote:
> I had written a program will add two array and put it into third array with
> removing duplicate
>
> i am getting out put with some extra zero... need help on this
>
> class readArray {
>     public static void main (String arg[]) {
>         int[] arry1 = {0,1,5,9,34,45,54,23,34};
>         int[] arry2 = {2,5,90,76,54};
>         int[] resArry = new int[arry1.length+arry2.length];
>
>         addToArray(resArry,arry1,0);
>         addToArray(resArry,arry2,arry1.length);
>         sortArry(resArry);
>         //deleteDup(resArry);
>         for(int i =0; i             System.out.println(resArry[i]);
>         }
>     }
>     /* Merge 2 array*/
>     public static void addToArray(int[] resArry, int[] arry,int x){
>         int dup = 0;
>         for (int i = 0; i < arry.length; i++) {
>             for(int j = 0; j < resArry.length;j++) {
>                 if(resArry[j] == arry[i]) {
>                     dup = dup+1;
>                 } else {
>                     dup =dup+0;
>                 }
>             }
>             if (dup <= 0) {
>                 resArry[x] = arry[i];
>                 x++;
>             }
>             dup = 0;
>         }
>     }
>     /* Sort array*/
>     public static void sortArry(int[] x) {
>         int n = x.length;
>         for (int pass=1; pass < n; pass++) {
>             for (int i=0; i < n-pass; i++) {
>                 if (x[i] > x[i+1]) {
>                     int temp = x[i];
>                     x[i] = x[i+1];
>                     x[i+1] = temp;
>                 }
>             }
>         }
>     }
>     /* Delete duplicate value in the array*/
>     /*public static void deleteDup(int arr[]){
>         int newArray[] = new int[arr.length];
>         int temp =0;
>         int count= 0;
>         int len = 0;
>         for(int i =0; i             temp =arr[i];
>             int val =i+1;
>             if(val < arr.length){
>                 if(temp ==arr[val])
>                 continue;
>                 len = len+1;
>             }
>             newArray[count++] =temp;
>         }
>         for(int i =0; i<=len; i++){
>             System.out.println(newArray[i]);
>         }
>     }*/
>
>
>
> }

-- 
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

To unsubscribe, reply using "remove me" as the subject.


[java ee programming] Re: Webservices problem

2010-04-08 Thread miga


On Apr 9, 1:45 am, "Shankar Ganesh.AP PitchaiMuthu"
 wrote:
> Hi,
>  i am using jax-ws method to invoke websevices. whiloe i am invoking
> webservices i am getting javax.xml.ws.
> webserviceexception javax.xml.bind.marshalexception. Can anyone help.Thanks
> in advance.
Could you post in webservices forum instead of this forum and be a
little more explicit about the exception and the code.

Michèle

-- 
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

To unsubscribe, reply using "remove me" as the subject.