Create a well designed OOP project in Java(Using Netbeans)

Save Functions

Project Structure (File Structure)

UI
BLL - Business Logic
DAL- Data Access
BE - Business Entity
DB - DB Connection Class



First Create a UI Frame and add the required Controls



Then create a Java Class in BE Folder

Generate Getter and Setter Methods



Then Create a Java Class in DAL Package

Write the following Insertion Code


Then Create a Java Class in BLL Package
It should return the DAL Class's method

Finally write the Button click event
We get the access file from the BLL package



Comments

Popular

Object Oriented PHP for Beginners

Class & Object in PHP