Home | Ajax | BioInformatics | Dojo | EAI | EJB | Hibernate | J2ME | Java | Java Glossary | Java Servlets | JavaScript | Jboss | JDBC | JDO | Jmeter | JSF | JSP | JUnit | Maven | MySQL | Spring Framework | SQL | Struts | Technology | WAP | Web Services | XML


 
  
 
Programming Tutorials: Ajax | Articles | JSP | Bioinformatics | Database | Free Books | Hibernate | J2EE | J2ME | Java | JavaScript | JDBC | JMS | Linux | MS Technology | PHP | RMI | Web-Services | Servlets | Struts | UML
 

 
Facing Programming Problem?
Ask Questions?, Browse Latest Questions, Question-Answer Guidelines
Tutorials
  JDO Tutorials
  EAI Articles
  Struts Tutorials
  Java Tutorials
  Java Certification
  Java Applet
Questions
Comments

Designing Database

                         

Database designing is considered as crucial stage in the development lifecycle of the web application. The database is finally responsible for storing the data in the database for retrieval in future. So, the database design should be done in such a way that it full fill all your business requirements.

In this application we are only concern with take the new user information and saving in the database for authenticating the user in the future.

We are using MySQL database for this application. MySQL one of the open source, free and widely used relational database for applications.

Creating the database:

I am assuming that you have already installed MySQL on your machine and have access to the database server. Login to your MySQL Server and create a database "strutshibernatespring".

Creating tables:

Then connect to the database "strutshibernatespring" and create table "login". Here is the script to create login table:

CREATE TABLE `login` (
`id` int(11) NOT NULL default '0',
`loginid` varchar(20) NOT NULL default '',
`password` varchar(20) NOT NULL default '',
`email` varchar(30) default NULL,
`address` varchar(60) default NULL,
`phno` int(11) default '0',
PRIMARY KEY (`id`),
UNIQUE KEY `loginid` (`loginid`)
) TYPE=MyISAM;

The login table will used to store the user information and then authenticating the user at login time.

 

                         

Leave your comment:

Name:

Email:

URL:

Title:

Comments:


Enter Code:

Audio Version
Reload Image
 

Note: Emails will not be visible or used in any way, and are not required. Please keep comments relevant. Any content deemed inappropriate or offensive may be edited and/or deleted.

No HTML code is allowed. Line breaks will be converted automatically. URLs will be auto-linked. Please use BBCode to format your text.

Add This Tutorial To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Latest Searches:
sequential number gene
draw Polyline
procedure in mysql
Eclipse 3.4 EJB
update User jsf
tuxedo
jdbc code for sql serv
B Tree
Selecting All Columns
actionlistener
querystring in servlet
jsp bean get property
jdbc url
calculator in javascri
validate radio button
mysql blob
passing images from js
date class
UDPServer Java
uses of wi fi
IIS
rational rose 98
sorting treemap
Sort column Header on
how retrive a data fro
JSP STRUTS
Resource
Tomahawk outputText ta
в?Ð?РÑ??в?Ð?РÐ?в?
combo box
prime numbers
LineWrap in TextArea
Create table and inser
Time
jsp to microsoft sql
struts2 tag
deleting rows from two
insert into image
input in array
jboss connection pool
logic:notMatch
render a value
MouseEvent
log4j
struts2 checkbox
download struts-all.zi
iBatis Stored Procedur
struts validations
two dimensional array
Update setString();
using textarea struts
delete
java servlet
java messaging system
array list
equalsIgnoreCase
save query string
write
Excel open java applic
command Sort Header
setBounds
GregorianCalendar
consructor
MULTIPLE SELECT COMBO
how apply voice chatin
Axis EJB webservices
clear grid
create excel file usin
Sun One webserver 6.1
string buffer in java
how to print arraylist
retrive data from data
struts 2 session
encrypt
how to send sms from j
Editable JTree
java factorial
jvm memory
lebanon gmt
Java Count repeated ch
Java String toLowerCase Example
Java String toCharArray Example
Java String substring Example
Java String indexOf Example
Java String startsWith Example
Java String hashCode Example
Java String matches Example
Java String length Example
Java String lastIndexOf Example
Java String isEmpty Example
Java String equalsIgnoreCase Example
Java String equals Example
Java String endsWith Example
Java String copyValueOf Example
Java String contentEquals Example
  EAI Articles
  Java Certification
Tell A Friend
Your Friend Name
Search Tutorials

 

 
 
Browse all Java Tutorials
Java JSP Struts Servlets Hibernate XML
Ajax JDBC EJB MySQL JavaScript JSF
Maven2 Tutorial JEE5 Tutorial Java Threading Tutorial Photoshop Tutorials Linux Technology
Technology Revolutions Eclipse Spring Tutorial Bioinformatics Tutorials Tools SQL
 

Home | JSP | EJB | JDBC | Java Servlets | WAP  | Free JSP Hosting  | Search Engine | News Archive | Jboss 3.0 tutorial | Free Linux CD's | Forum | Blogs

About Us | Advertising On RoseIndia.net  | Site Map

India News

Indian Software Development Company | iPhone Development Company in India | Java Training Delhi | Java Training at Noida |

Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.

Copyright © 2008. All rights reserved.