auspicious-fog-5566's Introduction
auspicious-fog-5566's People
auspicious-fog-5566's Issues
Preparing All Tables
- Planning all Tables Schema
- Creating All Tables Required
Connecting the DB With Java Appllication
- Creating Connection
Project Review
- Package bean sounds wrong for entity objects , Always keep entity objects inside entity package .
- Use @DaTa annotations from
lombok package
for dynamic getters and setters , won't have to create getters and setters manually for all the parameters in entity classes. - Instead of prepared statements in DAO implementations , you could use JPA (Java persistence API) , it gives more flexibility in terms of querying the db.
- It provides methods such as
findById()
where you won't have to write native sql queries explicitly. - Internally JPA uses prepared statements only , so it does the job of creating the corresponding queries for you.
- It provides methods such as
- good job on separating the DB Util class . [nit] => always close the conn object that you open.
- conn object could have been globalized or passed as a reference .
- In jpa , no need to create conn objects , it does the job for us . pasting some links for JPA
- good job on creating custom exceptions .
- put Use cases classes in service layer where all the business logic must reside.
- separate controller , service layer must be present .
- could remove DBUtil from utility into configuration package and initialize the conn objects using dependency injection. Pasting some useful links for dependency injections below.
- functionality is in working condition so that's good.
- Just focus on the aspects that i have mentioned above , you'll be good to go.
- good job on camel casing and meaningful variable names.
- Below site has some small projects with different spring boot concepts in it , do go through once on your own pace.
- https://www.springboottutorial.com/spring-boot-projects-with-code-examples
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.