• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java basic CRUD (Create, Read, Update, Delete) example

 
rajnish patel
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to learn basic CRUD operations in java(JSP, SERVLET, JAVABEANS).
Can anyone please suggest me good sites havin sample examples ?
Waiting for kind reply.
Thank you.
 
Winston Gutkowski
Bartender
Pie
Posts: 10430
63
Eclipse IDE Hibernate Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
rajnish patel wrote:I want to learn basic CRUD operations in java(JSP, SERVLET, JAVABEANS).
Can anyone please suggest me good sites havin sample examples ?

What are you referring to? CRUD operations to a database? Because that's the only thing I can think of where CRUD actually applies (you don't delete objects in Java; that's what the gc is for).

Perhaps you could clarify.

Winston
 
rajnish patel
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Winston Gutkowski wrote:
rajnish patel wrote:I want to learn basic CRUD operations in java(JSP, SERVLET, JAVABEANS).
Can anyone please suggest me good sites havin sample examples ?

What are you referring to? CRUD operations to a database? Because that's the only thing I can think of where CRUD actually applies (you don't delete objects in Java; that's what the gc is for).

Perhaps you could clarify.

Winston



I was asking for sample CRUD operation programs which are made using JSP, Servlet and JavaBeans.
 
Tim Cooke
Sheriff
Pie
Posts: 3080
127
Clojure IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your question doesn't make sense.

As Winston pointed out you don't say what want your CRUD operations to operate on. A MySQL database? Oracle database? List? Map?
The technologies you say you want to use, JSP, Servlet, and JavaBeans, make no sense in this context. They all are used for different reasons, none of which are related to a CRUD API.

Please be much more specific in what you are asking for.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34695
367
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think the poster means using JDB (or JPA) from a servlet. If one doesn't know about databases yet, those terms wouldn't come up yet.

Rajnish: If that's the case, asking for an example is premature. First you need to learn about databases. Try the JDBC tutorial to get started.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic