Hi Biljana, I just added a new class file to the existing project... and within the main from top down that created the two tables, populated them and then quit (I think that was all it needed). You can run it by simply right clicking on the class file in the project tree and then 'Run' You could get fancy and create separate functions and/or entire classes for separating out the functionality and calling the bits from within a controller function of some sort, but I didn't want to spend that much time on it. If you want to rerun it, you'll need to delete the tables from the Services list.
good luck, Karl --- On Wed, 3/18/09, Biljana Biljana <biljana_b...@yahoo.com> wrote: > From: Biljana Biljana <biljana_b...@yahoo.com> > Subject: [java ee programming] Troble with program in JDBC > To: "J2EE Passion Group" > <java-ee-j2ee-programming-with-passion@googlegroups.com> > Date: Wednesday, March 18, 2009, 6:43 AM > Hi! > I don not know who to ask? > For homework in JDBC, do we have to create project, or > just add in JDBCSamler MyOwnJDBCProgram.java, class which > will do everything what is given for homework, but how they > run this program, why not one project which will have one bu > one all classe with main function, which execute > that statements? > > Hellp me! > > Regards, > Biljana > > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---