Appfuse tutorials

AppFuse Tutorials

If you've just downloaded AppFuse and want to setup it up on your machine, your best bet is the QuickStart Guide. Once you've got everything setup, the tutorials below are a great resource for learning how to develop with AppFuse. NOTE: These tutorials are included in AppFuse's distribution. If you want to update your project's copy (in the docs directory), run "ant wiki".

As of 1.6.1, you can generate most of the code covered in these tutorials. If you're using Struts+Hibernate, you can generate all of it. For Spring and WebWork, it was too much trouble to write the installers so you will need to manually configure the Controllers and Actions. This was mainly due to the fact that I'm not using XDoclet for these web frameworks and the limitations of using Ant as an installer. The AppGen tool which generates the code is covered in Part I.

There's also an AppFuse Generator project that has similar functionality to AppGen.

Part I: Creating new DAOs and Objects in AppFuse - A HowTo for creating Java Objects (that represent tables) and creating Java classes to persist those objects in the database.


Translations: Chinese, Portuguese, Spanish

Part II: Creating new Managers - A HowTo for creating Business Facades that talk between the database tier (DAOs) and the web tier (Actions or Controllers).


Translations: Chinese, Portuguese, Spanish

Part III: (Struts) Creating Struts Actions and JSPs - A HowTo for creating Actions and JSPs in your AppFuse project. Includes generating JSPs and customizing them to look good. Also, you will write a WebTest to test the JSPs functionality. Other web framework options are as follows:


Translations: Chinese, Portuguese

Translations: Portuguese

Part IV: (Struts) Adding Validation and List Screen - Adding validation logic to the personForm so that firstName and lastName are required fields and adding a list screen to display all person records in the database.


Translations: Chinese, Portuguese

Translations: Portuguese
NOTE: You can generate the files created in these tutorials by using AppGen. If you experience problems - you should be able to compare your results to what AppGen does. To do this, cd into extras/appgen, and run "ant test-detailed". This will create an "appfuse-appgen" project, generate the code in these tutorials, and test everything.

Thomas Gaudin's Excellent AppFuse Tutorials

Thomas Gaudin has put together a couple of detailed and easy-to-follow tutorials on his site.

Related AppFuse HowTos

Translations: Portuguese

Translations: Portuguese

Server Configuration


Other

Outdated Articles that still get some traffic:

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值