Description: 使用它开发者可以很轻松为系统增加数据库执行日志功能。它使用十分方便,您所需要做的唯一事情就是在您系统的JDBC连接字符串前增加类似于 "listenerconfig=/config.xml:url=" 的字符即可,不用写任何代码。
使用 JDBMonitor,您可以把数据库执行情况记录通过各种方式记录下来,比如打印到控制台、输出到文件或者通过socket传送给远程客户端。JDBMonitor是可扩展的,您可以扩展它来将执行情况通过其他方式记录下来,您所需要做的就是写一个实现IDBListener接口的类即可。-developers to use it can easily increase to the system database implementation log function. It is very convenient to use. you need to be done is the only thing in your system connecting JDBC increase similar to the string "listene rconfig =/config.xml : url = "character can be, do not have to write any code. JDBMonitor use, you can use the database records through the implementation of various recording. For example, to print the console output to a file or through socket transmitted to the remote client. JDBMonitor is scalable, you can extend it to be through the implementation of the other recording, do you need to do is write an interface to achieve IDBListener category can be. Platform: |
Size: 660480 |
Author:zk |
Hits:
Description: 实现网络聊天的功能,采用Windows Socket(或Java Socket)编程,服务器与客户端采用了TCP/IP连接方式,在设计聊天方案时,可将所有信息发往服务器端,再由服务器进行处理,服务器端是所有信息的中心。服务器端要保存用户信息,可利用数据库来实现这一功能,需要建立用户信息数据库。在客户端可采用文件系统保存聊天纪录和用户号码。可通过闪动托盘图标和播放不同的音乐提示信息到来及好友上线等信息。可通过建立消息链表来保存用户接收的各种消息。-Achieve the online chat feature, using Windows Socket (or Java Socket) programming, server and client using TCP/IP connections, chat in the design of programs, all of the information can be sent to the server-side, and then processed by the server, the server side is all the information center. Server-side to save the user information, the database can be used to achieve this functionality, the need to establish a user information database. The client can use the file system to save chat logs and user numbers. Through the flashing tray icon and play different music tips and the arrival of friends on the line, and more. Be through the establishment of the message list to save the user receives a variety of messages. Platform: |
Size: 20480 |
Author:王厅 |
Hits:
Description: Java使用Servelt连接SQL数据库,通常需要在Servlet 中连接数据库,实现对数据库的各种操作,本例实现了在Servlet 中连接数据库。在网页浏览器里面调用database.html 文件,就可以得到分页显示的数据库-Java SQL database connection using Servelt usually requires a database connection in the Servlet realize various operations on the database, in this case to achieve a connection Servlet database. Call database.html file inside the web browser, you can get the database paging display Platform: |
Size: 1024 |
Author:jpudn33 |
Hits: