Advertisement

You May Like




Subscribe to RSS through Email:

Enter your email address:



RSS Subscription

Home
Apache URL Rewriting Tutorial
(16 votes)

Apache URL Rewriting - By Ross Shannon, YourHTMLSource.com

The Apache server’s mod_rewrite module gives you the ability to transparently redirect one URL to another, without the user’s knowledge. This opens up all sorts of possibilities, from simply redirecting old URLs to new addresses, to cleaning up the ‘dirty’ URLs coming from a poor publishing system — giving you URLs that are friendlier to both readers and search engines.

 

Read more...
 
Introduction to JavaFX Script
(12 votes)

 

Introduction to JavaFX Script - By Anghel Leonard

What Is JavaFX?

In the spring of 2007 Sun released a new framework called JavaFX. This is a generic name because JavaFX has two major components, Script and Mobile, and, in the future, Sun will develop more components for it.

Read more...
 
Rails to Java via REST
(2 votes)

Rails to Java via REST - By Brian Leonard

Brian Leonard has written "Rails to Java via REST," detailing how he used Netbeans to write a REST service for a JPA entity bean, and used it from a Rails application: 

Since I've been studying the Rails framework, I've had an interest in integration with Java. Yes, JRuby is one possible solution, but if you have some large Java system that you want to integrate with, it' unlikely that you're just going to get the jar files to access that system's APIs. More likely is that system will expose itself as a service, and the service type du jour is REST.

So, in this entry I'm going to expose an entity class as a RESTful web service and then create a Rails client for that entity.

Setting Things Up

  • Download and install NetBeans 6.0 M10. Grab the Full distribution so you can get the Java IDE, Ruby and GlassFish.
  • Download and install the SWDP to GlassFish. This is required to create the RESTful web service.

Creating the RESTful Web Service

Here we'll expose the manufacturer table as a RESTful web service.

Create the Manufacturer Entity Class

  • Start NetBeans 6.0 and create a new Web Application named Manufacturers.
  • Right-click the project and select Entity Classes from Database.
  • Select jdbc/sample as the Data Source and MANUFACTURER as the Table (your list of available tables will be different then mine, but you should have MANUFACTURER):
Read more...
 
<< Start < Prev 1 2 3 4 5 6 7 8 9 10 Next > End >>

Results 37 - 40 of 42
or browse in 35 languages:

Who's Online

We have 34 guests online

Subscribe To

 Subscribe in RSS

Follow me...

Join MyiBook Network

Most Downloaded