📄 readme
字号:
The CORBA example is the most complicated of the examples. Itaims to show how to use JDBC & Java2's ORB to access PostgreSQL.To compile:Type "make corba" to build the example. This will create a new directorystock which contains the stubs needed by the orb, and all required classesunder the example/corba directory.To run:NOTE: To run, you will need 3 shells on Win32 (under unix you can get awaywith two shells):1: Start the naming serviceUnix: tnameserv -ORBInitialPort 1050 &Win32: tnameserv -ORBInitialPort 10502: Start the StockServer java example.corba.StockServer 3 jdbc:postgresql:dbase user passwd -ORBInitialPort 1050Where: 3 Number of concurrent sessions to allow dbase The database (including a hostname if required) user The PostgreSQL user name passwd The password3: Using a fresh shell, run the client: java example.corba.StockClient -ORBInitialPort 1050
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -