| Recent Entries |
|
18. Jun 2013
|
||
|
11. Jun 2013
|
||
|
06. Jun 2013
|
||
|
31. May 2013
|
||
|
29. May 2013
|
||
|
28. May 2013
|
||
|
25. May 2013
|
||
|
22. May 2013
|
||
|
14. May 2013
|
||
|
03. May 2013
|
||
|
02. May 2013
|
||
|
25. Apr 2013
|
| Seam News | (211) |
| Hibernate | (139) |
| Seam | (131) |
| RichFaces | (92) |
| Contexts and Dependency Injection | (91) |
| News | (86) |
| Web Beans | (61) |
| Core Release | (60) |
| JBoss Tools | (60) |
| Eclipse | (56) |
| JavaServer Faces | (55) |
| Hibernate Search | (52) |
| Ceylon | (50) |
| JBoss Tools Eclipse | (44) |
| Weld | (43) |
InfoQ interviewed me on the subject of Seam 1.1. Check it out:
http://www.infoq.com/news/2006/11/seam-11-Gavin-King-interview
With the release of CR1, we are proud to announce Seam 1.1 to the world. Seam 1.1 brings Ajax, lightweight asynchronicity and the Seam Application Framework to Seam, and brings Seam to the J2EE platform. No matter what application server you use, you can experience the difference made by Seam's unique state and concurrency management architecture. This release is also a huge step forward in maturity, with many bugfixes and minor enhancements.
New features include:
- New concurrency model for AJAX-based applications
- Integration with ICEfaces and Ajax4JSF
- Support for J2EE environments
- The Seam Application Framework for data-oriented applications
- seam-gen, a command line tool for generating seam projects, actions, and reverse engineering existing databases
- Efficient clustering of Seam-managed extended persistence contexts and JavaBean components
- Support for atomic conversations
- Asynchronous methods and events
- Enhanced configuration via components.xml
- Exception handling via annotations or exceptions.xml
- Page fragment caching via <s:cache/>
- Decoration of invalid input via <s:decorate/>
- Page parameters for RESTful applications
- Themes
- Support for the Sun JSF 1.2 reference implementation
- Many, many bugfixes and other enhancements
Many thanks to everyone who contributed to this release, which was a real team effort.
Download it here:
https://sourceforge.net/project/showfiles.php?group_id=22866&package_id=163777&release_id=465354
After an extensive and quite challenging editing period, the 880 pages update to /Hibernate in Action/ is now available. You can get the eBook on the Manning website. The book is currently being printed and should soon (I guess in about two weeks) be shipped to all MEAP subscribers and resellers such as Amazon.
A sample chapter (Starting a project
) can be downloaded here.
The source code of the example application has also been updated and is available on the CaveatEmptor website.
The Hibernate developer team released Hibernate 3.2.0 GA today, this release is now ready for production use. Please read the migration guidelines if you are upgrading from an earlier version.
In addition to Hibernate Core, final releases of the Java Persistence provider are now available with Hibernate Annotations and Hibernate EntityManager. The Hibernate Java Persistence provider has been certified with the Sun TCK. You can use the Java Persistence API and annotation metadata in any Java project, inside or outside any Java EE 5.0 application server. If you are upgrading from an earlier version of the Hibernate Java Persistence provider, please see the migration guidelines.
We'd like to thank all contributors and users for their issue reports!
I heard about FindBugs(tm) while listening to one of the Java Posse podcast. Since Hibernate Annotations and Hibernate EntityManager are very close to their respective final releases, I decided to give it a shot.
FindBugs(tm) is basically a static code analyser that tries to find bugs in your code through some pattern recognition. I have been working in the past with both static and dynamic code analysers and I have been pretty disappointed by their false positive ratios (basically a non-bug considered as a bug), and the complexity of their set up process. FindBugs was a refreshing experience.
The cool stuff about it is, well, there are several cool stuffs:
- it's a no brainer to set up and run
- the amount of false positive is surprisingly low
- it works at the bytecode level, so you don't have to have the source code (more later)
Set up and Run
I haven't read the documentation, just downloaded the package and run the .bat file. A couple of clicks and I was analysing Hibernate Annotations and Hibernate EntityManager . No fancy Ant integration required (you can, but you don't have to), no fancy IDE dependency (you can, but you don't have to), no fancy command line requiring you to RTFM (you can, ahem you should, but you don't have to). The provided GUI does the job pretty smoothly, even if a package filtering feature would have been really cool (more later).
A pretty low false positive ratio
THE thing that usually kills such a product is the amount of false positive bug claims. You end up scanning hundreds of warnings without paying attention to them and trash the whole product after 30 minutes. FindBugs has a pretty low false positive ratio, which is very good. And if the warning end up being a false positive, there are usually some good reasons that worth a second look at your code. I must admit I am pretty proud of me ;-) Of course in HAN and HEM, I found some bugs and suboptimal constructs (no worries, I fixed them), but much less than my expectations.
Work at the bytecode level
That is probably what makes it easy to use (and hard to develop), FindBugs(tm) works at the bytecode level, not the source level (it highlights the source line if the sources are available). So pointing a jar or a directory containing your compiled classes is enough. Actually what I did, was pointing to my project root directory, and the job was done.
So while analysing Hibernate Annotations and Hibernate EntityManager , I ended up analysing a bunch of jars (Oh Filter, where art thou?), and I can tell you some guys out there should take a look at FindBugs(tm) , this include a bunch of JDBC drivers and well known in-memory Database backed by some big company(ies) ;-)
Give it a try
It's free, it's easy to set up, it's going to take two hours of your time and save you much more.
|
|
|
Showing 1026 to 1030 of 1137 blog entries |
|
|