关于中间件:
middleware
  
Software that connects two otherwise separate applications. For example, there are a number of middleware products that link a database system to a Web server. This allows users to request data from the database using forms displayed on a Web browser, and it enables the Web server to return dynamic Web pages based on the user's requests and profile. 
The term middleware is used to describe separate products that serve as the glue between two applications. It is, therefore, distinct from import and export features that may be built into one of the applications. Middleware is sometimes called plumbing because it connects two sides of an application and passes data between them. Common middleware categories include: TP monitors 
DCE environments 
RPC systems 
Object Request Brokers (ORBs) 
Database access systems 
Message Passing 
 

解决方案 »

  1.   

    1:jsp,but servlet better
    2:不用中间件,架个web server(tomcat,weblogic...)
     client post数据到jsp,jsp 执行相应的sql或调用存储过程
      

  2.   

    我刚开始学JAVA,对JSP不是很了解...
    给 你点ASP.NET 的建议吧
    开发几个(一个也可以).NET组建(COM+组建,NT SERVER都可以),负责检索,更新数据库(这就是中间件);
    ASP页面中调用该组件.
    事例嘛,自己看书吧