|
■■The domestic "kangaroo_egg" web server is officially released, free and open source
Most people in java middleware know tomcat, an open source and free web server, but today I will introduce a domestic self-developed web server, its name is
"Kangaroo_egg" is also open source and free, but it is not running the JSP scripting language, but the DQM scripting language developed by itself, which has its own container for executing DQM dynamics
File, we call it DQM container. DQM is very similar to JSP, but simpler than JSP, so if you know JSP then you only need to look at DQM to understand.
So what are the characteristics of this server?
1. No need to configure XML files: In the past, we often need to configure XML files when using J2EE servers, but kangaroo_egg does not need it, even when using MVC structure, it is also dynamic
Logical control of the page.
2. Perfect internationalization support: every method involving content output or reading has overloaded the method with character set, so there is no need to write troublesome filters, just simple
Provides the character set currently needed.
3. Conditional file output: BBS web programs often encounter such a situation, allowing users to upload files by themselves, and the uploaded files must meet certain conditions before they can be accessed
Question (read, download), some conditions mentioned here, such as only logged-in users can access, or can access after purchasing BBS theme, etc. Similar situations are also present in other web applications
Many, how to achieve this function? We used to write a servlet for conditional file output, but this would be very troublesome. If you want to support the need for resumable upload
If you have to write a lot of programs, it is even more difficult to output files in full compliance with the HTTP protocol. In kangaroo_egg, you only need to simply use the built-in methods.
4. Command built-in object: kangaroo_egg has a brand-new built-in object command. The user can view or modify the current server information through this object. This object can also
To modify some settings of the server without stopping the server, such as soft restarting the server without interrupting the service.
5. Generate a static page: pass. In some cases, the content of a dynamic page will remain unchanged for a long time after execution, but there are many people who visit it. If a static page is generated, the execution can be eliminated.
The overhead of running dynamic files and reading the database. kangaroo_egg has a built-in function of automatically generating static pages, which can be automatically generated by simple programming.
5. Compile and hide the source code: kangaroo_egg can turn off the automatic compilation function and only run the compiled page, while providing the ability to compile the entire web application and hide the source code of the dynamic page
Function.
The official website of the kangaroo_eggweb server: http://kweb.go.3322.org |
|