JavaOne 2009: Day three
1. Unit Testing That Sucks Less: Small Things Make a Big Difference: Neal Ford talked about different testing tools like Jester, MockRunner, Hamcrest, Groovy, RSpec/EasyB, and Selenium. He showed how Groovy can help test java code. He also mentioned about Unitils.org as well with dbUnit.
2. Writing Killer JavaServer Faces 2.0 UI Components: Kito Mann showed ease of use and component development in JSF 2.0. He demoed and did walk through process of creating UI components. He introduced few facelets tag like, <ui:repeat>, <f:ajax>. He talked about annotation and resource hanler as well.
3. Visual JavaFX Techlonogy-Based Design with JFXBuilder: I was very excited to take this session. Josh Doenias and Jeff martin did an excellent job to demostrate thier live code demo. They developed a movie database application using drag and drop JFXBuilder tool. The tool only has been around six months but I do see a great future of this tool and looking forward to use it in near future. Here is the tuturioal for Databox.
4. Best Practices for Large-Scale Web Sites: Lessons from eBay: * Randy Shoup, had worked for Oracle in 8 year now Distinguished Architect in eBay. He gave an outstanding presentation in Javaone. Here are interesting inside information he gave us during the session:
- Over 80 millions active users
- 100,000 line of code get released every two weeks
- 16,000 java application server a day
- No HTTP session
- No EJBs
Here are 5 best practices for Internet Scale:
- Partition Everything: If you cant split it, you cant scale it.
- Asynchrony Everywhere
- Automate Everything
- Remember Everything Fails
- Embrace Inconsistency
![]() ![]() |
5. Keeping a Relational Perspective for Optimizing the Java Persistence API (JPA): Debu and Reza took a deep dive to JPA and explained how to use JPA in details. Here some keynotes I jotted down from this session:
- De-normalize tables
- DDL runs faster then DML
- Lazy loading: How and When will it load: Look for user name. It is a good candidate for eager loading. Searing for Blob, it could be a lazy loading candidate.
- Native query: Be careful.
- Name queries
- Why is caching important
- Add second level cache
- Locking table, use diagnostic tool (i.e. Terracotta)
![]() |
![]() |
![]() |
My co-worker and I had a long discussion after took this session and here we came up with this desgin to share middle tier from different modules in iDMS application.
-
Archives
- November 2009 (1)
- July 2009 (1)
- June 2009 (5)
- May 2009 (2)
- April 2009 (4)
- March 2009 (2)
- January 2009 (3)
- December 2008 (1)
- November 2008 (2)
- October 2008 (1)
- September 2008 (3)
- August 2008 (2)
-
Categories
-
RSS
Entries RSS
Comments RSS






