随笔-5  评论-5  文章-0  trackbacks-0
  2006年7月18日
     摘要: 如果你是一名Java软件或Ajax开发者,可能Google Web Toolkit(GWT)已经引起了你的注意。
2006年5月,Google发布了这一免费的工具箱,遵循Apache风格的许可证。GWT被设计用于以Java语言编写Ajax应用。Google已经提供了Windows和Linux下的beta版本,并承诺以后增加Mac OS X版本。
本文描述了在Max OS X上一个简单的Ajax应用的开发,使用GWT和常用的Java工具,如Apache Ant,Tomcat 5.0 Servlet容器,以及IntelliJ IDEA集成开发环境(后者是一款商业IDE)。本文假设读者具有Java和Ant的基本知识。  阅读全文
posted @ 2006-07-18 16:45 努力!奋斗! 阅读(2370) | 评论 (3)编辑 收藏
Mastering EJB系列的第四版。深入介绍了EJB3.0带来的变化,包括Java persistence API以及如何在EJB中使用POJO实体。
免费下载:http://www.theserverside.com/news/thread.tss?thread_id=41363

What's new with Mastering EJB 3.0:

- More than 50% new and revised material
- Four new chapters and one new appendix covering the latest features of the new release
- Basic and advanced concepts (such as inheritance, relationships, and so on) of Java Persistence API defined entities
- Information on integrating EJB applications with the outside world via the Java EE Connector technology
- Tips and techniques for designing and deploying EJB for better performance
- Best practices for EJB 3.0 application design, development and testing
- Complete usage of EJB annotations along with equivalent XML configuration
- Tricks and traps of EJB deployment
- JBoss Workbook that discusses the exercises for each chapter (although the chapters are themselves vendor-agnostic)
posted @ 2006-07-18 11:50 努力!奋斗! 阅读(1324) | 评论 (1)编辑 收藏
  2006年7月11日
    以前用hibernate习惯用xdoclet生成mapping,最近体验了一下hibernate-annotations,比起原来的方法要便利许多。
    其实hibernate支持的正是EJB3 annotation,只是在此基础上作出了扩展,我们也可以只使用javax.persistence.*下的annotations描述持久化类。
    而最令人兴奋的地方在于persistence annotation的标准化和主流框架开始支持这一实现,使得我们的持久化类的可移植性大大提高。很快,我们可以将这些POJO移植到EJB,Hibernate,JDO,以及任何一种对其提供支持的持久层框架,而不需要对代码做任何改动(既不改动代码,也不改动metadata),不需要重复恼人的配置工作。
    hibernate-annotations目前的最新版本是3.2.0.CR1,需要与hibernate-3.2配合使用。
    EJB3 annotations的定义可以参照JSR-000220 Enterprise JavaBeans 3.0 Final Release (persistence)
posted @ 2006-07-11 20:30 努力!奋斗! 阅读(218) | 评论 (0)编辑 收藏
  2006年7月9日
刚刚落户,近期将抽空整理出一些东西发上来。
posted @ 2006-07-09 23:33 努力!奋斗! 阅读(232) | 评论 (1)编辑 收藏
仅列出标题