|
Code Samples :
Important Notice : These code samples are not to be used to for commercial purpose.These examples are only meant for educating yourself on the technology.
Software Needed: In all my Code Samples i used only Open Source Software.You can download them at the free of cost.My code samples are basically aimed at exploring the technology.I tested the application using open source software.
1 DBMS -> I used MySQL Community Server5.0 to test the code Sample... you can get it at mysql.com.
1.1 I used testdb1 as my database in this examples.Create the Data base testdb1 using "create database testdb1" through MySQL command line interface. If you are using other data base you need to change the hibernate.connection.url property in the hibernate.cnf (Hibernate configuration file).
1.2 I used ROOT as a user name and PUBLIC as the password.If you are using other user& password change the user name and password properties in the hibernate.cnf file.
1.3 Create a data base Table (It is also called as Schema in the DBMS terminology) SIGNUP. You can cut and past the following SQL DDL statement .
Create Table SIGNUP(FIRST_NAME VARCHAR(32) PRIMARY KEY,MIDDLE_NAME VARCHAR(32), LAST_NAME VARCHAR(32), USER_NAME VARCHAR(32),PASSW0RD VARCHAR(20), PRESENT_ADDRESS VARCHAR(128),PERMANENT_ADDRESS VARCHAR(128), CONTACT_NUMBER VARCHAR(16));
2. For the web container i tested on apache tomcat5.0 you can use any J2EE compliant Web Container.You can download tomcat5.0 at apache.org
3.I used eClipse as well as NetBeans for IDE. You can download both the Code samples.
Click here to Download Eclispe3.X IDE Version code sample
Click here to Download NetBeans6.X Version Code Sample.
The code samples are under development .They will be ready soon,for technical support please contact us at murali@javamission.com or murali.ebox@gmail.com
For technical support please contact me at
murali@javamission.com

|