Frameworks

CRUD REST Operations

CRUD stands for Create, Read, Update and Delete, the four basic operations performed on application data.In REST, each operation is mapped to an HTTP method (POST, GET, PUT/PATCH, DELETE) on a resource URL such as /api/students.It is used because it gives every client (browser, mobile app, Postman) one standard, predictable way to manage data.Spring Boot […]

CRUD REST Operations Read More »

REST Fundamentals

REST is a style of building web APIs where everything is a resource (a student, an order) with its own URL, and the client works on it using standard HTTP methods.It is used because it is simple, works with any client (browser, mobile app, Postman), and follows rules everyone already knows.A request names the resource

REST Fundamentals Read More »

REST API Development

REST API Development in Spring Boot involves designing and building stateless, scalable web services based on Representational State Transfer (REST) architectural principles. By leveraging Spring MVC’s annotations, Jackson serialization, and embedded web servers, Spring Boot enables developers to expose resources over standard HTTP protocols using structured data formats like JSON or XML. 1. REST Fundamentals

REST API Development Read More »

Custom Validation

Custom validation lets you write your own rule when the standard annotations (@NotBlank, @Min, @Email) are not enough.It is used for application-specific rules, such as “a student is eligible only if the age is 17 to 25 and the marks reach the course cutoff”.You create an annotation, link it to a validator class that holds

Custom Validation Read More »

Bean Validation

Bean Validation checks user input against rules written as annotations on the Java fields, such as @NotBlank, @Email and @Min.It is used so bad data (empty names, wrong emails, invalid mobile numbers) is rejected before it reaches your logic or the database.You put the rules on the model, add @Valid on the controller parameter, and

Bean Validation Read More »

Form Data Binding

Form data binding automatically copies the values typed into an HTML form into the fields of a Java object.It is used so you don’t read each field by hand with request.getParameter(). Spring creates the object, fills it, and converts text to numbers and dates.In Spring MVC it works through @ModelAttribute on the controller and th:object

Form Data Binding Read More »

Form Handling and Validation

DatabaseMetaData is a JDBC interface used to obtain information about the database, JDBC driver, tables, columns, and supported database features. It is obtained from a Connection object using the getMetaData() method. Using DatabaseMetaData, a Java program can dynamically inspect database information without directly querying system tables. This is useful for database administration, debugging, database migration

Form Handling and Validation Read More »

Search

Search finds records by matching keywords against fields such as name, email or department, instead of returning the whole table.It is used so users can quickly find the data they need, even with partial words or different upper/lower case.Spring Data supports it through derived query methods (findByNameContainingIgnoreCase) and custom @Query JPQL for more complex searches.The

Search Read More »

Scroll to Top