- 授权协议: Apache
- 开发语言: Java
- 操作系统: Linux
- 软件首页: http://code.google.com/p/junixsocket/
- 软件文档: http://code.google.com/p/junixsocket/w/list
软件介绍
junixsocket 是一个通过 Java JNI (Java本地接口)实现的基于 Unix Domain 套接字(AF_UNIX )进行通讯的 Java 开发包。
junixsocket 扩展了 Java 的 Socket API ,支持基于 AF_UNIX 的 RMI 通讯,还可以使用 Unix Domain 套接字直接连接本地的 MySQL 服务器。
下面是一段使用 junixsocket 连接 MySQL 的代码示例:
import org.newsclub.net.mysql.AFUNIXDatabaseSocketFactory;
...
Class.forName("com.mysql.jdbc.Driver").newInstance();
Properties props = new Properties();
props.put("user", "test");
props.put("password", "test");
props.put("socketFactory", AFUNIXDatabaseSocketFactory.class.getName());
props.put("junixsocket.file", "/tmp/mysql.sock");
Connection conn = DriverManager.getConnection("jdbc:mysql://", props);
API文档请看这里。
The NSHipster Fake Book (Objective-C)
Mattt Thompson / NSHipster Portland, Oregon / 2014 / USD 19.00
Fake Books are an indispensable tool for jazz musicians. They contain the melody, rhythm, and chord changes for hundreds of standards, allowing a player to jump into any session cold, and "fake it" th......一起来看看 《The NSHipster Fake Book (Objective-C)》 这本书的介绍吧!
