vb.net与数据库英文参考文献及翻译
vb.net connection database
Microsoft Visual Basic.NET is the Microsoft Visual Basic renewal edition, it based on the .NET portal frame construction, can make the user to found the Microsoft operating system and the network application procedure extremely easily.
Uses Visual Basic.NET, may realize the visualization development network application procedure, the network service, the Windows application procedure and the server end module fast. Visual Basic already truly became object-oriented as well as the support succession language now.Window design support visualization inheritance, and has contained many new characteristics, for instance automatic change window size, resources localization as well as accessibility support. Moreover, Visual Basic.NET direct establishment in.In NET portal frame construction, therefore the development personnel may use all platform characteristic fully, also may and other.The NET language is interactive.
Servlet is one kind of independence in the platform and the agreement server end Java application procedure, may produce the dynamic Web page. It takes on the Web browser or other HTTP customer procedure sends out the request, with between HTTP server on database or application procedure intermediate level.
Servlet is located Web the server internal server end the Java application procedure, obeys orders with the tradition issues an order the start Java application procedure to be different, Servlet carries on the load by the Web server, this Web server must contain supports Servlet the Java virtual machine.
Servlet has provided the massive practical tool routine, for example analyzes and decodes the HTML form data automatically, reads and establishes HTTP, processes Cookie, the track conversation condition and so on.
In Servlet, many use tradition CGI procedure is very difficult the duty which completes all to be possible with ease to complete.For example, Servlet can be directly interactive with the Web server, but the ordinary CGI procedure cannot.Servlet also can share the data between each procedure, makes the database connection pond and so on function to be very easy to realize.
Servlet compiles with Java, Servlet API has the consummation standard.Therefore, is Servlet which IPlanet Enterprise Server writes does not need in any substantive the modification then to transplant to Apache, Microsoft IIS or WebStar.The nearly all 原文请找腾讯752018766优,文'论~文.网http://www.youerw.com the modification then to transplant to Apache, Microsoft IIS or WebStar.The nearly all mainstream server all direct or supports Servlet through the plug-in unit.
(1) init() method
In the Servlet life span, only carries out a init() method.It is loads time Servlet in the server carries out. May dispose the server, by is starting the server or the client visits the Servlet fashionable clothing to enter Servlet for the first time. Regardless of has how many clients to visit Servlet, all cannot duplicate carries out init().
The default init() method usually conforms to the requirement, but also may use to have custom-made the init() method to make a round trip covers it, typical manages the server end resources.
(2) service() method
The service() method is the Servlet core.Whenever a customer requested a HttpServlet object, this object service() method must transfer, moreover transmits for this method " requested " the (ServletRequest) object and " respond " the (ServletResponse) object to take the parameter.Has had the service() method in HttpServlet.The default service function is the transfer and HTTP the request method corresponding do function.
(3)doGet() method
When a customer sends out HTTP through the HTML form the GET request or requested directly when URL, the doGet() method is transferred.With GET requested the related parameter increases to URL behind, and transmits together with this request.When cannot revise the server end the data, should use the doGet() method.
(4)doPost() method
When a customer sends out HTTP through the HTML form the POST request, the doPost() method is transferred.With POST requested the related parameter took an independent HTTP request transmits from the browser to the server.When needs to revise the server end the data, should use the doPost() method.
(5) destroy() method
destroy() method only carries out one time, namely stops when the server also removes stage makeup and costume Servlet carrying out this method.Typical, closes Servlet as a server advancement part.The default destroy() method usually conforms to the requirement, but also may cover it, typical manages the server end resources.When the server removes stage makeup and costume Servlet, will complete after all service() method transfer, or will be assigning the time-gap will transfer the destroy() method from now on.Servlet when moves the service() method possibly can have other threads, therefore please confirm when transfers the destroy() method, these threads had terminated or complete.1666