The
jMaki
tutorial from SWDP explained the different approaches to load your own data
into a jMaki widget. The jMaki widget models have
formalized since then and so the code there no longer works. This TOTD
explains how a combo box widget in a JSP page gets it data from a bean.
This TOTD uses NetBeans IDE configured with
jMaki plugin and
GlassFish.
Create a new Web application project using...
If you attended JavaOne 2007
or any other conference afterwards where
Metro (JAX-WS
+ WSIT/Tango) team presented,
then you've probably seen
this demo. The demo shows an Excel 2007 spreadsheet invoking a
Secure and Reliable endpoint deployed on
GlassFish. Today, I'm announcing
the availability of the WSIT endpoint and Excel client code with
full instructions to...
Doris pointed out that one of my
earlier post is not working any more. That entry explained the steps to
create a Web application, deployed on
GlassFish V2, and contained a jMaki-wrapped
Yahoo Data Table widget pulling data from
JavaDB using the
JPA.
The main reason for this is because
jMaki data
models have evolved since I wrote the original entry and are now
formalized. Here is the delta...
ActiveRecord-JDBC 0.5 is
now available. As mentioned
earlier, one of the main features in this release is simplified database
configuration for JRuby-on-Rails applications. From the
release notes:
It is no longer necessary to specify :driver and :url configuration
parameters for the mysql, postgresql, oracle, derby, hsqldb, and h2
adapters.
This means that if you deploy a Rails...
jMaki
is a light-weight framework for build Web 2.0 applications. It provides support
for multiple languages - Java (1,
2, 3,
4,
5,
6) , PHP, Ruby (1,
2),
Phobos (1).
The numbers in parentheses indicate the entries that I've created showing jMaki
support for that language. As evident, I've not created a single entry for PHP
yet. This entry is going to change that :)
This entry shows how...
Quercus is
Caucho Technology's 100% Java implementation of
PHP 5. Ludo
described the steps to deploy PHP web applications on
GlassFish. Caucho has released a new
version of Quercus since then. This blog
entry is an update to the
steps described earlier.
First, PHP-enable GlassFish.
Unjar
quercus-3.1.1.war and copy the JAR files in "WEB-INF/lib"
directory to "...
This TOTD describes
how to convert a stateless session EJB to a Web service and uses information
from this
thread.
Add @javax.jws.WebService annotation at the top of your EJB
class. The modified code looks like:
@javax.ejb.Stateless
@javax.jws.WebService
public class HelloSessionBean implements server.HelloSessionLocal {
public String sayHello(String name) {
...
Watch a 25-minute video as
Ed Ort deep dives on
Project Tango (part of
Metro) with me.
How to play the interview ? - Clicking on the image above
takes you to the main page
where different interviews are located. On that page, click on the Play button
(sideways triangle) in the bottom left corner instead of "LOW BAND" or "HIGH
BAND" buttons. More than one person asked me...
In the
JRuby Hackday, Nick Sieger
described the process models of a Rails application deployed using
Traditional C-based Ruby on
Mongrel,
JRuby on Mongrel, and
JRuby on
GlassFish.
In this blog entry I'm capturing a brain dump from him after the event. The images below shows
process models in each of the above mentioned approaches. The containment of boxes in each image is shown in...
In a
previous screencast, I showed how to develop a Rails application fetching
data from the MySQL database and deploy it in
GlassFish. GlassFish comes pre-bundled with
JavaDB. Based upon a
user request, this TOTD shows to use JavaDB database instead of MySQL.
Here are the steps required to replace MySQL database
configuration with JavaDB. You can either mix these steps with the existing...