Welcome!

Machine Learning Authors: Pat Romanski, Liz McMillan, Yeshim Deniz, Elizabeth White, Zakia Bouachraoui

Blog Feed Post

Using Google Web Toolkit with WebSphere Application Server

The other day I was asked about Google Web Toolkit (GWT) and developing JEE applications for WebSphere Application Server. GWT is Google's toolkit that allows developers to create Ajax style architectures. What is unique about GWT is that it provides a Java library for generating JavaScript. The developer writes Java classes, compiles, and executes the class files to create JavaScript. The JavaScript can then be packaged and rendered. They also have a set of server side classes which can act as RESTful service endpoints that your JavaScript generated code can connected too. There is a ton of information on GWT, so I won't go into detail. If your looking for a book, I enjoyed Ryan Dewsbury's Google Web Toolkit Applications.

So how can one approach GWT and WebSphere Applicaiton Server?

At the end of the day, you want a WAR file or EAR file that you can import as a Web application to WebSphere Application Server. While you can certainly use Eclipse/RAD to create a Dynamic Web Project and export the WAR alone with your GWT generated JavaScript, I've found using Ant much easier and automated. (As a side note, Eclipse is a natural development environment for GWT. GWT provides a command line tool to generate the necessary project files which can be imported into Eclipse).

I used the gwtcompile Ant task which compiles the Java GWT class files you created, executes the classes, then dumps the JavaScript output to a directory. From there, it's pretty straight forward to collect the generated output into a WAR file. I'll typically execute the build.xml directly inside Eclipse and take the WAR and publish it to WebSphere Application Server.

Kevin Haverlock

Read the original blog entry...

More Stories By Kevin Haverlock

Kevin Haverlock is an advisory software engineer for IBM's WebSphere Application Server product. He joined IBM in 1995 at Research Triangle Park, NC, where he worked as a developer for the Tivoli division. In 2000 he transferred to the WebSphere Application Server organization and is currently an architect and developer for the WebSphere Application Server Express product.

CloudEXPO Stories
Every organization is facing their own Digital Transformation as they attempt to stay ahead of the competition, or worse, just keep up. Each new opportunity, whether embracing machine learning, IoT, or a cloud migration, seems to bring new development, deployment, and management models. The results are more diverse and federated computing models than any time in our history.
On-premise or off, you have powerful tools available to maximize the value of your infrastructure and you demand more visibility and operational control. Fortunately, data center management tools keep a vigil on memory contestation, power, thermal consumption, server health, and utilization, allowing better control no matter your cloud's shape. In this session, learn how Intel software tools enable real-time monitoring and precise management to lower operational costs and optimize infrastructure for today even as you're forecasting for tomorrow.
"Calligo is a cloud service provider with data privacy at the heart of what we do. We are a typical Infrastructure as a Service cloud provider but it's been designed around data privacy," explained Julian Box, CEO and co-founder of Calligo, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
Isomorphic Software is the global leader in high-end, web-based business applications. We develop, market, and support the SmartClient & Smart GWT HTML5/Ajax platform, combining the productivity and performance of traditional desktop software with the simplicity and reach of the open web. With staff in 10 timezones, Isomorphic provides a global network of services related to our technology, with offerings ranging from turnkey application development to SLA-backed enterprise support. Leading global enterprises use Isomorphic technology to reduce costs and improve productivity, developing & deploying sophisticated business applications with unprecedented ease and simplicity.
While a hybrid cloud can ease that transition, designing and deploy that hybrid cloud still offers challenges for organizations concerned about lack of available cloud skillsets within their organization. Managed service providers offer a unique opportunity to fill those gaps and get organizations of all sizes on a hybrid cloud that meets their comfort level, while delivering enhanced benefits for cost, efficiency, agility, mobility, and elasticity.