Loading presentation...

Present Remotely

Send the link below via email or IM


Present to your audience

Start remote presentation

  • Invited audience members will follow you as you navigate and present
  • People invited to a presentation do not need a Prezi account
  • This link expires 10 minutes after you close the presentation
  • A maximum of 30 users can follow your presentation
  • Learn more about this feature in our knowledge base article

Do you really want to delete this prezi?

Neither you, nor the coeditors you shared it with will be able to recover it again.


Spring MVC and Hibernate

Explaination of Spring Model View Controller Framework, working with Hibernate


on 10 May 2013

Comments (0)

Please log in to add your comment.

Report abuse

Transcript of Spring MVC and Hibernate

Java Spring MVC Tam Tran
Haishan Zhao
Yanhui Long "Course evaluation" app using
- Spring Web MVC Framework
- Maven build tool
- Hibernate for data model Spring Framework Requirement @Inversion of Control@
@Aspect-Oriented Programming@ JAVA DAO Object Data Access Object
is an abstract interface to database / persistence mechanism
Super simple (CRUD)
hide detail of data storage
More Information
http://javarevisited.blogspot.com/2013/01/data-access-object-dao-design-pattern-java-tutorial-example.html IMPORTANT FILES WEB.XML
hibernate.cfg.xml Java Code:Hello Word Example Hibernate Core Contents
of Spring /* HelloWorld.java */
public class HelloWorld {
public static void main(String arg[]) {
System.out.println("Hello, World!");
} Aspect-Oriented Programming It seems too simple!
We are graduate students We need create a very
Complex java procedure Separates Class HelloWorld Class
A Class
B Class
C Store HelloWorld Display a string Obtained HelloWorld from class A
and then passed it to the class C to display M C V Spring MVC Benefit 1. Separation of concerns
2.Developer specialization and focus
3.Parallel development by separate teams Primitive society Industrial society Communist society send a message: I need axe IOC Reference [1]http://www.roseindia.net/tutorial/java/jdbc/javamvcdesignpattern.html
[2] http://www.springsource.org/
[3] http://www.developersbook.com/spring/spring-tutorials/spring-tutorials.php
[5] http://viralpatel.net/blogs/introduction-to-hibernate-framework-architecture/
[6] http://www.mysql.com/why-mysql/ - IDE (Eclipse with Spring or Spring Tool Suit (STS)

- Patient

- list of dependencies Are you stupid and crazy? an ugly UI design @Inversion of Control@
Full transcript