Powered by
SmartDoc
ENGLISH
JAPANESE
Windowsで働くprologプログラマのためのJava/XMLガイド
>>
Windowsで働くprologプログラマのためのJava/XMLガイド
18th July, 2000
藤波 努
http://www.jaist.ac.jp/~fuji
目次
AI on Web?
Building your web server
>>
Building your Web server running Servlet
>>
Web servers running Servlet
>>
Downloading Tomcat
Installing Tomcat
Testing Tomcat
Creating Web applications
>>
Making your working directory
Making sub-directories
Editing the source code
Editing build.bat and build.xml
Editing web.xml
Build your application
Editing server.xml
Running your application
Servlet basics
>>
Sending parameter values from Browser to Servlet
Receiving parameter values in Servlet
Sending HTML documents to Browser from Servlet
Building and Running the sample
Extending your web server with prolog and RDB
>>
Integrating prolog and Java on Servlet
>>
JPL: a Java interface to prolog
Sample prolog program
Handing prolog variables and atoms
Getting back atoms from prolog
Calling prolog from Servlet
Running the sample
Database Connection using Java
>>
Which database management system?
Download and Installation
>>
Installing MySQL Server
Register yourself
Installing JDBC driver
MySQL Basics
>>
Creating Databases
Creating Tables
Database connection
>>
Prerequisite
Sample Code
>>
Test-run
Explanation about the code
>>
Packages
Establishing a connection
Executing the query
Reading out the result
Closing up
Connecting prolog to Relational Database on Servlet
>>
Why prolog and RDB?
The demo story
Implementing the demo
>>
Handling facts dynamically in prolog
Retrieving data from RDB
>>
Imported packages
Flow of control
Loading prolog program
Porting data from RDB to prolog
Executing the query to display the result
Cleaning up
Test-run
Combining prolog and MySQL on Servlet
>>
The source code
>>
Imported packages
Sending header
Loading test2.pl and asserting the facts
Displaying the names of parents
Closing up
Evoking prolog and showing the result
Building the web application
Runing the proServ2 Servlet
Limitations
>>
Problems with multi-threads
Managing RDB Connections
Managing prolog loading
Integrating applications into XML
>>
Installing XML tools
Communication between client and server
Applications
Conclusion
Program Codes
>>
proServ
proServ2
On Linux
>>
Building your web server on Linux
>>
Java Development Kit
Installing SWI-prolog
Installing JPL
Web servers running Servlet
Creating Web applications
Extending your web server
索引
Windowsで働くprologプログラマのためのJava/XMLガイド
>>