`

一个基于Spring+Hibernate应用的Eclipse快速开发插件

阅读更多

Fast Code Eclipse plugin is a free eclipse plugin designed to help write code faster in spring based applications. But it can be configured to work with many other kinds of applications as well.

In a typical multi tiered application, there are lot of similar code. E.g in a struts application with spring hibernate backend, you have to create FooAction, FooService and FooDAO for every domain object Foo. Besides this, there will be quite a few configuration files and their test classes. Typing them all manually takes time, gives you carpal tunnel , and can be error prone.

This is where this plugin can help. It can help one generate similar boiler plate classes and their associated configuration files. It can also generate the junit tests as well.

As an example, it can generate from  FooDAO interface FooService andFooServiceImpl and then FooAction. It can then also generate spring configuration files for FooService and FooAction.

It can also generate struts config file, faces config file, application resource files for any number of locales, struts validation file, dozer mapping file, bare bone jsp, etc.

One can also create FooService and FooServiceImpl and the configuration files just by typing foo in a text box.

This plugin is highly configurable. One can generate any other kind of files by simply modifying a master configuration file used by the plugin. In addition, this plugin can help you navigate between different kind of files easily, it can create working set containing these similar classes only, and much more.

分享到:
评论

相关推荐

    用Maven搭建Spring+Spring MVC+Hibernate框架

    本篇文章将深入探讨如何使用Maven作为构建工具,在Eclipse环境中搭建一个整合了Spring、Spring MVC和Hibernate的项目。 首先,让我们了解Maven。Maven是Apache开发的一款项目管理和综合工具,它通过一个项目对象...

    springmvc+spring+hibernate

    Spring MVC、Spring 和 Hibernate 是Java Web开发中的三大主流框架,它们各司其职,共同构建了一个强大而灵活的后端架构。Spring MVC 负责处理HTTP请求并将其路由到相应的控制器,Spring 提供了依赖注入(DI)和面向...

    Struts2+Spring+hibernate中对action的单元测试环境搭建[总结].pdf

    在 Struts2+Spring+Hibernate 框架中,对 Action 的单元测试环境的搭建是一个非常重要的步骤。本文将详细介绍如何在 Struts2+Spring+Hibernate 框架中搭建 Action 的单元测试环境。 首先,需要了解为什么需要对 ...

    Eclipse+Struts+Spring+Hibernate+Mysql环境搭建及访问数据库实例

    2. Struts2:Struts2是一个基于MVC设计模式的Web应用框架,用于处理HTTP请求和响应。 3. Spring框架:Spring是企业级Java应用的核心框架,提供了依赖注入、AOP、数据访问等多种功能。 4. Hibernate:Hibernate是一个...

    flex+Spring+Hibernate整合配置详解

    Flex+Spring+Hibernate 整合是企业级应用开发中常见的一种技术栈组合,它结合了Flex前端的富互联网...通过以上步骤,开发者可以搭建一个完整的Flex+Spring+Hibernate开发环境,为复杂的企业级应用开发提供坚实的基础。

    Struts+Spring+Hibernate快速入门

    - 使用Eclipse或MyEclipse作为IDE,安装相关插件如Hibernate Sync、Spring IDE等,以便于开发和调试。 - 数据库建表,根据应用需求创建对应的表结构。 通过以上步骤,你可以构建一个简单的用户管理应用,理解SSH...

    搞定J2EE:STRUTS+SPRING+HIBERNATE整合详解与典型案例 (1)

    一共四个,其中pdf 三个包,源码一个包 第一章 J2EE快速入门 1.1 J2EE概述 1.1.1 J2EE的来源 1.1.2 J2EE整体框架 1.1.3 从J2EE到JavaEE 1.2 J2EE组件 1.2.1 客户端组件 1.2.2 Web组件 1.2.3 业务逻辑组件 1.3 J2EE...

    Eclipse + MyEclipse整合Struts+Spring+Hibernate简单例子开发

    Struts 是一个基于MVC设计模式的Web应用框架,主要用于控制应用程序的流程,处理HTTP请求并生成响应。它提供了一种组织应用程序的方式,使得代码更易于维护和扩展。 Spring 是一个全面的Java企业级应用开发框架,它...

    struts+spring+hibernate应用开发详解

    Struts+Spring+Hibernate 应用开发详解是一个深入讲解如何集成这三个开源框架进行J2EE应用开发的教程。Struts、Spring和Hibernate分别是MVC模式中的Controller、Service和Persistence层的代表,它们的结合能够构建出...

    Struts2+Spring+Hibernate+Ehcache+AJAX+JQuery+Oracle 框架集成用户登录注册Demo工程

    2.Action里通过struts2-spring-plugin.jar插件自动根据名字注入。 3.Ajax无刷新异步调用Struts2,返回Json数据,以用户注册为例。 4.在服务端分页查询功能,优点:实时性:跳页才查询。数据量小:只加载当前页的记录...

    maven+struts2+hibernate3+spring+eclipse项目

    该项目是一个经典的Java Web开发组合,使用了Maven作为构建工具,Struts2作为表现层框架,Hibernate3作为持久层框架,Spring3作为依赖注入和事务管理框架,且基于Eclipse IDE进行开发。以下是对这些技术栈的详细说明...

    eclipse下快速整合struts1+spring+hibernate.doc

    通过上述步骤,可以在Eclipse环境下快速且有效地整合Struts1、Spring和Hibernate三大框架,搭建出一个功能齐全、扩展性强的应用程序开发平台。这种整合不仅提高了开发效率,还增强了代码的可维护性和可测试性,是...

    eclipse下快速整合struts1+spring+hibernate

    ### Eclipse 下快速整合 Struts1 + Spring + Hibernate 在 Java Web 开发中,Struts、Spring 和 Hibernate 是三种非常流行的框架。Struts 负责处理前端请求与页面展示;Spring 作为轻量级的 IoC 和 AOP 容器管理...

    精通Java EE项目案例-基于Eclipse Spring Struts Hibernate光盘源码(带数据库)

    Java EE是企业级应用开发的重要框架,而"精通Java EE项目案例-基于Eclipse Spring Struts Hibernate光盘源码"的资源提供了丰富的实践学习材料,旨在帮助开发者深入了解和掌握Java后端开发技术。这个项目案例涵盖了四...

    搞定J2EE:STRUTS+SPRING+HIBERNATE整合详解与典型案例 (3)

    一共四个,其中pdf 三个包,源码一个包 第一章 J2EE快速入门 1.1 J2EE概述 1.1.1 J2EE的来源 1.1.2 J2EE整体框架 1.1.3 从J2EE到JavaEE 1.2 J2EE组件 1.2.1 客户端组件 1.2.2 Web组件 1.2.3 业务逻辑组件 1.3 J2EE...

    Struts+Spring+Hibernate整合入门图文教程详解.doc

    1. **Struts**: Struts是一个基于MVC(Model-View-Controller)设计模式的Web应用框架。Struts2是其最新版本,它融合了Webwork的优点,提供了丰富的控制结构和强大的动作支持。Struts负责处理用户请求,将HTTP请求...

    flex+eclipse+spring+hibernate整合

    本文旨在详细介绍如何在一个开发环境中整合Flex、Eclipse、Spring以及Hibernate,以实现一个完整的企业级应用程序。 #### 一、Flex与Eclipse的集成 ##### 1.1 前提条件 - **JDK安装**:首先确保已正确安装JDK,并...

    spring+hibernate+struts的配置整和

    在实际项目中,创建一个基于Spring+Hibernate+Struts的系统,首先要在Eclipse中创建项目,然后分别导入这三个框架的库。接着,配置Struts的struts-config.xml文件,定义Action和对应的业务逻辑类。在Spring的配置...

Global site tag (gtag.js) - Google Analytics