Traditional Culture Encyclopedia - Traditional customs - What are the java frameworks

What are the java frameworks

There are really too many Java frameworks. If you copy a long paragraph online, you won't understand anything at all.

Let me talk about the j2ee framework based on my experience.

1. First of all, we recommend the struts2 framework, which is the most classic framework (it can be said that there is no "one").

It can help you quickly build an MVC model.

(Note: struts1 is rarely used and has many problems. It is strongly recommended to use struts2). 2. Spring framework, this is the second-ranked framework (my personal ranking, not authoritative). What makes this framework outstanding is that

Its "dependency injection" and "inversion of control".

To put it simply, parameters are injected into the container when the program is running.

3. Select Hibernate and Ibatis as persistence layer frameworks.

Hibernate has strong automation capabilities and can save development time when developing large-scale applications. ibatis is small, simple and flexible.

4. Jquery is another excellent Javascript framework after prototype. It encapsulates many javascript methods and is a framework for developing jsp. It is currently very popular for general development. Struts2+Spring+Hibernate (ibatis) is used for integration. The front end uses jquery or

Other similar frameworks.

For simple systems, sometimes a framework called Spring MVC is enough.