How to Develop a java open-source framework ----- the implementation of the Jvn framework convert the browser parameter passing background to Bean (fourth), ----- jvnbean

Source: Internet
Author: User

How to Develop a java open-source framework ----- the implementation of the Jvn framework convert the browser parameter passing background to Bean (fourth), ----- jvnbean

Preface

I,

The blogger is teaching you how to develop a javaEE framework (Jvn framework) to help you:
1. Why should we use the java framework and what benefits can the framework bring.
2. helps you understand the principles of the Framework.
3. How is the framework implemented.
4. How to develop a java framework of your own.


II,
Currently, the developed framework is called the Jvn framework, and the author's name is "Gossip". Let's get started with the development framework.
The Jvn framework has the following features:
1. the mvc Framework, similar to the web framework StringMvc or struts, does not write servlets and does not need to write servlet configurations in web. xml.

2. The orm framework, similar to hibernate or ibatis, is not worrying about complicated jdbc operations.

3. The spring framework, similar to the spring framework, has never worried about bean management;

4. cache mechanism.

5. Regular scheduling.

6. automatically generate online documents.

7. interceptor

 

III,
Each blog post has a detailed explanation of the video and the corresponding source code, and the video is continuous. To learn how to develop the Jvn framework, we recommend that you start with the first blog post Jvn.

 

Content of this blog

The method for finding a Bean is described in the previous lesson. This lesson mainly describes how to generate a Bean using parameters transmitted by the browser in the background.

1. First put the parameters passed by the browser into the map key --> value
2. traverse the map and find the key to piece together setXXX.
3. Find all the set methods and simpleName of the Bean to be converted.
4. Use the reflection mechanism to set the value of invoke.
5. Generate a desired object

Video and corresponding Source Code address:

Http://pan.baidu.com/s/1jGBvHeI

 

Ps: videos and code will be updated continuously. I hope you will like it and support it a lot.

QQ: 245223343 forever brother eight

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.