Welcome to Dream.In.Code
Become a Java Expert!

Join 150,105 Java Programmers for FREE! Get instant access to thousands of Java experts, tutorials, code snippets, and more! There are 1,874 people online right now. Registration is fast and FREE... Join Now!




Netbeans web-based project

 
Reply to this topicStart new topic

Netbeans web-based project, How to create a web-based project using netbeans

javacoder
25 Jun, 2008 - 08:15 PM
Post #1

New D.I.C Head
*

Joined: 25 Jun, 2008
Posts: 4

Hello,

I have just started working on netbeans. I'm working on a project. It is an e-commerce application. I have to implement a shopping cart that can be deployed on the web. The product info, username, password etc are taken from a database. I have read the tutorials but am unable to decide what to do. I have made the GUI forms but am clueless about the coding part. Any help please? blink.gif
User is offlineProfile CardPM
+Quote Post

pbl
RE: Netbeans Web-based Project
25 Jun, 2008 - 08:20 PM
Post #2

D.I.C Lover
Group Icon

Joined: 6 Mar, 2008
Posts: 3,587



Thanked: 233 times
Dream Kudos: 75
My Contributions
QUOTE(javacoder @ 25 Jun, 2008 - 09:15 PM) *

Hello,

I have just started working on netbeans. I'm working on a project. It is an e-commerce application. I have to implement a shopping cart that can be deployed on the web. The product info, username, password etc are taken from a database. I have read the tutorials but am unable to decide what to do. I have made the GUI forms but am clueless about the coding part. Any help please? blink.gif

Dream.In.Code has a policy by which we prefer to see a good faith effort on your part before providing source code for homework assignments. Please post the code you have written in an effort to resolve the problem, and our members would be happy to provide some guidance. Be sure to include a description of any errors you are encountering as well.

Please post like this:

Thank you for helping us helping you.
User is offlineProfile CardPM
+Quote Post

1lacca
RE: Netbeans Web-based Project
26 Jun, 2008 - 04:20 AM
Post #3

code.rascal
Group Icon

Joined: 11 Aug, 2005
Posts: 3,822



Thanked: 12 times
My Contributions
QUOTE
I have made the GUI forms but am clueless about the coding part. Any help please?

What forms are you talking about? If you mean Swing forms, they won't work in a web application, they are for the desktop.
Web applications use JSP to display the GUI.
User is offlineProfile CardPM
+Quote Post

javacoder
RE: Netbeans Web-based Project
26 Jun, 2008 - 06:56 AM
Post #4

New D.I.C Head
*

Joined: 25 Jun, 2008
Posts: 4

I made applet forms. My classes extend the JApplet class and the components are all jpanels, labels, buttons, etc.





QUOTE(1lacca @ 26 Jun, 2008 - 05:20 AM) *

QUOTE
I have made the GUI forms but am clueless about the coding part. Any help please?

What forms are you talking about? If you mean Swing forms, they won't work in a web application, they are for the desktop.
Web applications use JSP to display the GUI.


User is offlineProfile CardPM
+Quote Post

1lacca
RE: Netbeans Web-based Project
27 Jun, 2008 - 04:41 AM
Post #5

code.rascal
Group Icon

Joined: 11 Aug, 2005
Posts: 3,822



Thanked: 12 times
My Contributions
Are you sure you want to do it vith an applet? Usually it is easier to use JSP with or without some framework.

Oh btw, what help do you need with the coding?
User is offlineProfile CardPM
+Quote Post

javacoder
RE: Netbeans Web-based Project
27 Jun, 2008 - 07:09 AM
Post #6

New D.I.C Head
*

Joined: 25 Jun, 2008
Posts: 4

Hi,

That's what I'm confused about. I don't know which framework to choose. I tried using JFrame, but I was unsure how to link the database with the application. Then I switched to applets, I got all the forms done, the coding part I want to know is how to display all the products in the form of a table at runtime. The number of rows in the table should be determined by the number of products in the database at runtime. I'm also having trouble figuring out how to link the different forms together.

Thank you for helping.


QUOTE(1lacca @ 27 Jun, 2008 - 05:41 AM) *

Are you sure you want to do it vith an applet? Usually it is easier to use JSP with or without some framework.

Oh btw, what help do you need with the coding?


User is offlineProfile CardPM
+Quote Post

RoboAlex
RE: Netbeans Web-based Project
27 Jun, 2008 - 11:35 AM
Post #7

New D.I.C Head
*

Joined: 26 Jun, 2008
Posts: 39



Thanked: 3 times
My Contributions
In order to help you figure out how to link to the database we need to know what database you are using.
User is offlineProfile CardPM
+Quote Post

javacoder
RE: Netbeans Web-based Project
27 Jun, 2008 - 12:59 PM
Post #8

New D.I.C Head
*

Joined: 25 Jun, 2008
Posts: 4

I'm using MS Access
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/9/09 12:49AM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live Java Help!

Java Tutorials

Reference Sheets

Java Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month