[java ee programming] Fw: Exception in running Lab 4916 (Spring and Hibernate)

2009-12-09 Thread Chetana Shenoy
Hi:    I was trying to do the Lab for Spring and Hibernate. I imported all the libraries as mentioned and tried to run the first sample application. The only thing I am doubtful about is that I have imported the Hibernate plugin lib but the Lab document states it as HibernateCore. I tried to

RE: [java ee programming] Question about LAB4101

2009-12-09 Thread Moria Shebsovich
Hi Fernando, If you will look into the homework assignment again, It says that you should have two .jsp files and two separate .java files (one of them will be named HobbyBean.java. In this file you will create HobbyBean class and setters and getter for hobby). Then you will set a value as

Re: [java ee programming] Question about LAB4101

2009-12-09 Thread Mihai DINCA
Hi Fernando, If this is the code, than you have an extra closing acolade (see the code below). Hope it helps, mihai fernando pardo a écrit : > hello all: > anyone help me please? > > Im doing the course j2ee java programming the homework that belongs to > lab4101(lab#13)(JSFHelloworld)but i h

[java ee programming] Question about LAB4101

2009-12-09 Thread fernando pardo
hello all: anyone help me please? Im doing the course j2ee java programming the homework that belongs to lab4101(lab#13)(JSFHelloworld)but i have the following problem, on the two last lines mark of the following file: class,interface or enum expected I have the following UserBean.java file :

Re: [java ee programming] Problem with DOM API

2009-12-09 Thread Thomas Schiefer
You may try JAXP http://en.wikipedia.org/wiki/Java_API_for_XML_Processing Regards Tom On Wed, Dec 9, 2009 at 1:38 PM, Waqar Ahmed wrote: > Hi All > > I am facing application server failure (or stop ) problem while > generating XML document (record fetched from database is more then 5

RE: [java ee programming] Problem with DOM API

2009-12-09 Thread srinivas.devuke
Hi, You can use JAXB, which will do the same as DOM and SAX. It is easy to use as well. Regards, Srinivas From: java-ee-j2ee-programming-with-passion@googlegroups.com [mailto:java-ee-j2ee-programming-with-pass...@googlegroups.com] On Behalf Of Waqar Ahmed Sent: Wednesday, December

[java ee programming] Problem with DOM API

2009-12-09 Thread Waqar Ahmed
Hi All I am facing application server failure (or stop ) problem while generating XML document (record fetched from database is more then 5000 rows) and I am using websphere application server 6.0 I think problem is with DOM its alternative is SAX but can any one suggest so

Re: [java ee programming] Difference between Arrays and Arraylists

2009-12-09 Thread Kamal Chandana Mettananda
Hello Weasley, Array is fixed in size, and ArrayList (a Collection) is re-sizable. --- Kamal Mettananda http://lkamal.blogspot.com On Wed, Dec 9, 2009 at 2:26 PM, Weasley wrote: > Hello Friends, > > I wrote a function yesterday, and defined an String arr

[java ee programming] Difference between Arrays and Arraylists

2009-12-09 Thread Weasley
Hello Friends, I wrote a function yesterday, and defined an String array there. I defined it like, String[] arr = null; No error was shown by my IDE. I thought to move ahead. But when I tried to increase the size of my array, I was caught. Now I learned the difference b/w Array & an Array List.