Step1st:- Create Table:- CREATE TABLE Employee( EMPID INT NOT NULL AUTO_INCREMENT, EMPNAME VARCHAR(20) NOT NULL, EMPAGE INT NOT NULL, SALARY BIGINT NOT NULL, ADDRESS VARCHAR(20) NOT NULL PRIMARY KEY (ID) ); Step2nd:- Create hibernate.cfg.xml Step3rd:- Add Jar File under lib folder Step4th:- Create Dispatcher servlet and add it into web.xml step5h:-Create EmployeeBean.java public class EmployeeBean { private Integer id; private String name; private Integer age; private Long salary; private String address; public Long getSalary() { return salary; } public void setSalary(Long salary) { this.salary = salary; } public Integer getId() { return id; } public void setId(Integer id) { this.id = id; } public String getName() { return nam...
Hi, I'm Shiva Gautam. With over 15 years of diverse experience in various IT domains, I am now an entrepreneur focusing on both training and software development. My expertise spans across multiple technologies, and I've authored numerous articles on subjects including Java, Python, REACT, NODE, ANGULAR, Cloud, software testing, Django framework, C#, Flutter, Salesforce, Ruby on Rails, .NET, and more. For additional information, please visit shivaconceptsolution.com and kangaroosoftware.net.