Giter Club home page Giter Club logo

feeportal's Introduction

FeePortal

This is a Mini-project developed where Technologies used:-

  1. JAVA SWING
  2. MySQL
  3. JDBC

Software and tools used:-

  1. Eclipse
  2. Xampp
  3. MySQL

This Application is built for the purpose:

  • -Admin can review the fees status of students.
  • -Students can pay their fees annually.
  • -To add details of a new student.
  • -To update details of the student.
  • -Students can see their profiles.

=============== Dummy Database Initialization =====================

Step 1: Open Xampp, Start Apache server, and MySQl

Step 2:Type Localhost on your web browser.

Step 3: Create DataBase name portal

**Step 4:**Create first table of student details:

create table students(roll_number int , name varchar(255) , email varchar(255), branch varchar(255) , address varchar(255));

Step 5: Create payments table for details of fees:

create table payments(roll_number int primary key, inyear int, bankName varchar(255) ,bankBranch varchar(255) );

=============== Eclipse side work =====================

Steps for connecting java project to mysql.

Step 1:

Register the Driver first:

Class.forName("com.mysql.jdbc.Driver");

Step 2:

Set the connection using Connection con=DriverManager.getConnection("jdbc:mysql://localhost:3306/portal","root","root");
//here portal is database name, root is username and password

Step 3:

Create Statement: Statement stmt=con.createStatement();

Step 4:

Fetch the rows using ResultSet from database:

ResultSet rs=stmt.executeQuery("select * from students");
while(rs.next())
System.out.println(rs.getInt(1)+" "+rs.getString(2)+" "+rs.getString(3));

Step 5:

Close the connection:
con.close();

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.