Last Modified: $ DATE: 2005/04/06 07:15:38 $
Annotated imagedb
Imagedb is a example from Spring Framework.
Motivation Demostrate How To Retrieve Picture from Database and Display It On Pages. Blog Object In Sprint Framework. How To Add Blog Object To Output Stream?
get blog object from database. use org.springframework.util.FileCopyUtils copy blog object to output stream object. extend org.springframework.web.servlet.mvc.multiaction.MultiActionController to process image upload and list. And use MultiActionController that defines user interface actions as separate methods in xxx-servlet.xml to config MultiActionController. separate domain and database operation. interface oriented programming. I believe interface is great. Deployment Integrate this functionality with other web application as a image engine.