|
|
1 | (6) |
|
|
1 | (1) |
|
|
1 | (6) |
|
|
7 | (4) |
|
2.1 Invoking Java from JRuby |
|
|
8 | (3) |
|
3 Setting the Environment for a JRuby Web Application |
|
|
11 | (2) |
|
3.1 Creating a Oracle WebLogic Server Domain |
|
|
12 | (1) |
|
4 Creating a JRuby Rails Application |
|
|
13 | (6) |
|
|
13 | (1) |
|
4.2 Installing ActiveRecord JDBC Adapter |
|
|
14 | (1) |
|
4.3 Installing JRuby OpenSSL Gem |
|
|
14 | (1) |
|
4.4 Creating a Rails Application |
|
|
14 | (5) |
|
5 Configuring Databases for a JRuby Web Application |
|
|
19 | (2) |
|
5.1 Configuring Oracle Database in Rails Application |
|
|
19 | (1) |
|
5.2 Configuring MySQL Database in Rails Application |
|
|
20 | (1) |
|
6 Creating Scaffolding for a JRuby Rails Application |
|
|
21 | (6) |
|
6.1 Generating Scaffolding |
|
|
21 | (1) |
|
6.2 The Controller Script |
|
|
21 | (3) |
|
|
24 | (1) |
|
|
24 | (3) |
|
7 Creating Database Tables by Running Migrations |
|
|
27 | (4) |
|
7.1 Creating the Migration Script |
|
|
27 | (1) |
|
7.2 Running the Migration Script |
|
|
28 | (3) |
|
8 Precompiling CSS and JavaScript Assets |
|
|
31 | (4) |
|
|
32 | (3) |
|
|
35 | (2) |
|
9.1 Creating the Sessions Database Table |
|
|
35 | (2) |
|
10 Packaging the JRuby Application as a Java™ EE Web Application |
|
|
37 | (4) |
|
|
37 | (1) |
|
|
37 | (2) |
|
10.3 Generating the Web Application |
|
|
39 | (2) |
|
11 Running the Web Application in Oracle™ WebLogic Server |
|
|
41 | (8) |
|
11.1 Deploying the Web Application |
|
|
41 | (1) |
|
11.2 Running the JRuby Web Application |
|
|
42 | (7) |
|
12 Running the Web Application in JBoss™ Application Server 7 |
|
|
49 | (4) |
|
12.1 Deploying the Web Application to JBoss AS 7 |
|
|
49 | (1) |
|
12.2 Running the Web Application in JBoss AS 7 |
|
|
49 | (4) |
|
13 Using JDBC Data Source with a JNDI |
|
|
53 | (4) |
|
13.1 Creating a Data Source JNDI in WebLogic Server |
|
|
53 | (1) |
|
13.2 Configuring the Data Source in Rails Application |
|
|
54 | (3) |
|
14 Fixing Common Issues in JRuby Web Application Development |
|
|
57 | (8) |
|
|
57 | (1) |
|
14.2 Jrubyjar in Classpath |
|
|
58 | (1) |
|
14.3 Adapter Not Specified |
|
|
59 | (1) |
|
14.4 Driver Class and URL Not Specified |
|
|
59 | (1) |
|
14.5 Driver Class Not in Classpath |
|
|
60 | (1) |
|
|
60 | (1) |
|
14.7 Assets Precompilation |
|
|
61 | (1) |
|
|
61 | (1) |
|
|
62 | (1) |
|
|
63 | (1) |
|
14.11 Production Database for WebLogic Server |
|
|
63 | (1) |
|
14.12 Development Database for Rake Tasks |
|
|
63 | (1) |
|
|
64 | (1) |
|
|
64 | (1) |
Index |
|
65 | |