Test Home: http://brisoft.vicp.net/smice (requires IE6)
This is an actual product of our company, mainly facing the campus card market, and there is already two university cases. However, here, I mainly want to introduce things in the technical level, communicate with the application of Hibernate in the actual project.
Our company started researching Hibernate from the fall of last year, and preliminary use in two small projects, the effect is OK.
Therefore, in the beginning of this year, when the new campus cartoon project started, I decided to use Hibernate to replace EJB as the primary O-R technology. On the week, the internal test version was calculated, and almost 4 people were 50 months. In September, an actual project was implemented in an intermediate version.
If you don't say some of the specific technical issues, just talk about some rough experience (I only like it in the forum) 1. Hibernate's function is still relatively complete, our project needs is more complicated, only a small amount of database performance adjustment Work is also needed to do it. 2. Hibernate has a good performance, especially for cache. 3. Hibernate has a lot of shortcomings, but it is not very serious. The only thing that can be said to be unable to accept the sessionback method in the 2.0.3 Callback method, it is difficult to put some business logic into the PO. In the actual project, we encapsulated a layer of API on Hibernate and defined your own Callback. 4. The analysis model is most important. Since Hibernate simplifies DB operation, the idle time will naturally improve the requirements of the model. We have a considerable amount of time spent on model design and constant refactor. 5. The temptation of reconstruction. Due to the goal of the project is productive, many places deliberately pursue, almost every piece of code has been more than 3 times. This is good, but it also brought a problem with the cooperation of the team members.
I have developed a unified certification and authorization system (not finally completed), there is a friend who is interested in this piece, you can look at it, more items, thank you.
Development environment: hibernate2.0.3 Eclipse / xdoclet / maven tomcat4.13 SQLServer2000 Win2000Server
Deployment: Redhat 7 WebSphere4 Oracle9i
In addition, this post is also attached to the JDON and Hibernate Chinese forums, thanks to BANQ and Robbin two webmasters to contribute to the Java community.
Guty@brisoft.com.cn