You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avalon.apache.org by Peter Gang Chang <pe...@yahoo.com> on 2004/02/09 20:24:40 UTC

Confucius - New Project Using Avalon - could you add it as a "related project"?

Build Middle Tier Application with 0 lines of Java code - Introducing Confucius Framework

 

As a J2EE Developer, you probably have encountered the following problems in the past:

   Repeated coding effort in most applications: For example, the way Data Access Objects are written, there are many DAOs in each application, each DAO have many methods, and all these methods have similar code: open database connection, create a Statement, set parameters, execute query, iterate through ResultSets, set data to value objects... These kinds of code are written over and over again, for each method in each DAO, only slightly different from each other.
   SQL queries and other business logics are hard coded in the code base, thus make it hard to change.
   To follow a good design, sometimes you have to write a lot of code for the middle tier even for simple applications.  For example, sometimes you don�t think use EJB is necessary, and then you have to write your own code to handle transactions, connection pooling, etc.  

 

Confucius Framework has been developed to address the above issues.

 

Confucius is an Avalon based J2EE Framework, which minimizes the complexity and coding effort for middle tier programming by externalize the SQL queries, business logic and workflow logic into XML configuration files.  A set of generic, interchangeable and extendible components are provided for the middle tier.  These components could be configured by the XML to provide specific business functions for different applications.  

 

Confucius Framework minimizes the effort for middle tier developers and greatly reduces the time to deliver simple projects.  By using the declarative approach, applications can be built without a single line of Java code.  XML will be used to configure generic Data Access Objects, Business Objects and Facade Service Objects to build the application.  For more complex applications, you can use a mixed approach; build the Facade Service layer programmatically, while use declarative approach to build Data Access and Business layers.  Default transaction handling is provided for non-distributed transactions.

 

Confucius Framework is targeted at middle tier applications that plan to use Data Access, Business and/or Facade Service layers.  It is ideal for small applications that require a middle tier for database retrieval and updating.  It will useful to those developers who don�t want to spend too much effort on the middle tier, but still want quality code that follows the best practices � use of design patterns, loose coupling, separation of concerns, component oriented programming, etc. 

 

Confucius 1.0 has been recently released at sourceforge.net.  You can download it at http://sourceforge.net/projects/confucius/.  Please read the user guide for more details.

 

______________________________

Artical on theserverside.com

http://www.theserverside.com/news/thread.jsp?thread_id=23779



---------------------------------
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online