JODD入门

Jodd是一个普通开源Java包。你可以把Jodd想象成Java的"瑞士军刀",不仅小,锋利而且包含许多便利的功能。Jodd 提供的功能有:
 提供操作Java bean,
 可以从各种数据源加载Bean,
 简化JDBC的接连与代码,
 剖析SQL查询,
 处理时间与日期,
 操作与格式化String,
 搜索本地硬盘上的文件,
 帮助处理Servlet请求等。
除此之外还包含一个很小,但实用的基于JSP的MVC框架。

官方文档中的介绍:

What can I expect from Jodd?

Developer-friendly experience + Excellent performances + Small memory footprint and code-base; under 1.5 MB + Fast redeployments, matter of seconds + Elegant web framework + Slick and lightweight DI container + The fastest and unique proxy creator + Efficient and thin database layers + Transactions manager + Focused validation framework + Fast and versatile HTML parser + Decoration framework based on templates + Fastest bean library + Elegant and precise time class + Powerful properties replacement + Tiny and raw HTTP client + Many carefully selected utilities… and more!

About

About Jodd - an effective one-page you will love :)

Jodd overview in 5 minutes - Jodd frameworks overview in 5 minutes.

Jodd micro-frameworks in 30 minutes - example of using Jodd micro-frameworks.

Jodd utilities

BeanUtil - fastest bean manipulation library around.

Cache - set of common cache implementation.

Printf - formatted value printing, as in C.

JDateTime - elegant usage and astronomical precision in one time-manipulation class.

Type Converter - converting types.

StringUtil - more then 100 of additional String utilities.

StringTemplateParser - simple string template parser.

Finding, scanning, walking files - few easy ways.

Class finder - find classes on classpath.

Wildcard - using wildcards.

Servlets - various servlets-related tools.

Jodd tag library - new power to the JSP.

Form tag - automagically populates forms.

Class loading in Jodd - great ways for loading classes.

Fast buffers - really fast appendable storage.

Jodd tools

Email - sending and receiving emails.

Props - enhanced Properties replacement.

HTTP - tiny, raw HTTP client.

Methref - strongly-typed method name references.

SwingSpy - inspection of swing component hierarchy.

Jodd micro-frameworks

Madvoc

Elegant web MVC framework that uses CoC in a pragmatic way to simplify web application development.

Petite

Slick and lightweight DI container that supports sufficient most of features offered by other containers.

Proxetta

The fastest proxy creator with unique approach for defying pointcuts and advices.

DbOom

Efficient and thin layers that significantly simplifies writing of database code.

JTX

Enjoyable transaction manager.

Paramo

Extracts method and constructor parameter names.

VTor

Validation framework.

Lagarto

HTML parser.

HtmlStapler

Transparent HTML resource bundles.

Decora

Web decorator framework.

CSSelly

CSS3 selectors parser.

Jerry

jQuery in Java.

Jodd Labs

Jodd Joy - Start coding your web applications right away, using best Jodd practices integrated into thin application layer.

Misc

Examples

Uphea - real-world web application example built on Jodd framework.

Quickstart - start experiencing Jodd right away.

Build web applications with Jodd - tutorial that gives step-by-step instructions how to build web application using Jodd. Along it also provides some best-practices using Jodd frameworks.

Tips, Tricks & Best practice

Logging, make Jodd logs to your logging framework.

Add to classpath with ClassLoaderUtil in runtime.

Learn how to remove session id from URL for more security.

Jodd can be used on Android, too!

Performance

Benchmarks - overview of all available performance tests.

Reports

Jodd API javadoc.

Test results.

Coverage reports.

About Documentation

We put big effort to produce quality documentation. Jodd documentation covers core concepts of Jodd micro frameworks in depth, but also gives overview and examples for many tools.

Although we are trying hard to keep documentation up to date with the code base, there may be differences between how code works and whats described.

Documentation is written in kramdown (excellent markdown extension). You can find and even read our documentation on GitHub, too. Feel free to contribute!

Need more documentation on certain topics? Don't hesitate to ask for it!

Thank you!

猜你喜欢

转载自peter8015.iteye.com/blog/2103751