667481 members! Sign up to stay informed.

Sponsored Links


Resources

Enterprise Java
Research Library

Get Java white papers, product information, case studies and webcasts

News News News Messages: 3 Messages: 3 Messages: 3 Printer friendly Printer friendly Printer friendly Post reply Post reply Post reply XML XML XML

New Technologies: Project Phobos

Posted by: Joseph Ottinger on January 17, 2007 DIGG
Jennifer Ball has written "New Technologies for Ajax and Web Application Development: Project Phobos." Project Phobos is a framework for creating a web application with Javascript, perhaps an inverse to GWT (which generates a javascript application with Java... but the analogues break down very quickly. Forget I said anything.)

The article shows the following as advantages of Phobos:
  • You can deploy an application without compiling it.
  • You can write fewer lines of code.
  • You will be able to make changes to the application while it is running without redeploying it.
With these, it sounds much like every other scripting framework compared to Java. However...
Phobos gives you what other scripting languages do not: access to the Java Platform, Enterprise Edition (Java EE) stack. As the first article in this series has pointed out, scripting languages and statically typed languages such as the Java programming language have their own strengths. When you use Phobos to create web applications, you can use scripting and Java technology in ways that take advantage of their strengths. And because Phobos runs on the Java EE platform, you can call into components of the Java EE stack. For example, from your Phobos application, you can call into the new and powerful Java Persistence API available as part of the Java EE platform.

Phobos also simplifies development in Ajax, a technology that includes but is not limited to Asynchronous JavaScript and XML. If you have JavaScript on the client, as you do with Ajax, and on the server, as you can with Phobos, you get all all the benefits of having the same scripting language on both the client and the server. This also means that no translation is required between one language on the server and another on the client. In addition, Phobos includes a set of convenience libraries specifically for Ajax, such as the jMaki framework and the Dojo toolkit.
First glances at Phobos make it a little verbose, though, with Javascript littering the filesystem. Each directory and file has a purpose, but should one worry about yet another framework that requires a full commitment to even learn?
  Message #225684 Post reply Post reply Post reply Go to top Go to top Go to top

ever heard about Grails

Posted by: Ivo Houbrechts on January 18, 2007 in response to Message #225613
Phobos gives you what other scripting languages do not: access to the Java Platform, Enterprise Edition (Java EE) stack.

By building on Spring, Grails integrates perfectly with any Java, be it JEE or not.
Being Groovy is another big advantage: it is much more powerful then javascript and is very easy to learn since it is Java


Ivo Houbrechts
Houbrechts IT - agile open source Java consultancy

  Message #225721 Post reply Post reply Post reply Go to top Go to top Go to top

Re: ever heard about Grails

Posted by: Maris Orbidans on January 18, 2007 in response to Message #225684
Grails ? Is it mature enough ? Are there any projects developed on top of that ?

  Message #238825 Post reply Post reply Post reply Go to top Go to top Go to top

Groovy Versus JavaScript

Posted by: Rick O'Shay on August 27, 2007 in response to Message #225721
JavaScript has been integrated in Java 6.X and we already know it's available on all browsers. JavaScript can be woven in to the fabric of a web page where it executes seamlessly. It does so in a fast, efficient, effective manner. It's the "D" in DHTML. It's the "j" in Ajax. Providing a JavaScript interface on the server makes a lot of sense, for obvious reasons. This looks like a great way to create the vast majority of web-based applications (several pages with a web page front-end and a database back-end, the so-called sweet spot that Ruby on Rails hits). Grails is Groovy man, but it's a server-side beast. Like Ruby on Rails (gag me with a wooden spoon) it doesn't really hit the mark on the client side of things. Even JavaFX ACTUALLY RUNS ON THE BROWSER, albeit via the JVM.

New content on TheServerSide.comNew content on TheServerSide.comNew content on TheServerSide.com

Dependency Injection in Java EE 6 - Part 1

Reza Rahman explores the features of the proposed JSR 299, Contexts and Dependency Injection for Java EE (CDI). When approved, it promises to be a key feature of Java EE 6. (November 2, Article)

SAML: It's Not just for Web services

SAML is an XML-based standard for exchanging authentication and authorization data between security domains. The single most important problem that SAML was created to solve is the Web browser Single Sign-On problem. Many organizations are debating whether to stay with version 1.1 or move to 2.0. This article makes observations about both options. (September 28, Article)

Programming is Also Teaching Your Team

Joe Ottinger takes a look at how people learn, and applies it to the practice of programming. He notes that understanding how people learn is an essential part of working in a programming team. (September 22, Article)

Can Java EE Deliver The Asynchronous Web?

Stephen Maryka gave us an article about the Asynchronous Web and posed a number of questions that get examined like an approach to delivering Asynchronous Web capabilities through extensions to existing Java EE technologies. (July 14, Article)

JSF Flex

JavaServer Faces Flex goal is to provide users capability in creating standard Flex components, part of flexSDK which is open sourced through MPL license, as normal JSF components. This article by Ji Hoon Kim will provide an overview of creating a simple multilingual JSF page consisting of JSF Flex tags. (June 29, Article)

The Rules of SOA - A Road to a Successful SOA Implementation

In this session Jeff explores the key characteristics of successful SOA projects. He covers some of the patterns, and anti-patterns, tool sets, and strategies that he himself learned the hard way. Last, he provides a strategy and blueprint for achieving a high likelihood of success in your SOA project. (June 23, Tech Talk)

Ari Zilka Talks About Terracotta 3.1

Ari Zilka, CTO of Terracotta, Inc., talks about the new features in Terracotta 3.1, announced during JavaOne and available now. (June 15, Tech Talk)

Enterprise Application Integration, and Spring

In this Tech Talk, Josh Long explores an integration challenge using Spring Integration and walks through the implementation, employing and expanding on the basic patterns of Enterprise Application Integration to tie together components into a function integration solution, and then demonstrates how Spring Integration helps address the integration requirements. (June 15, Tech Talk)

Google Web Toolkit: An Introduction

In this Tech Talk, David Geary teaches you: The basics of Google Web Toolkit; How to implement Ajax-enabled applications in Java; Internationalization; Hooking into the browser history mechanism; Remote procedure calls. (June 4, Tech Talk)

Just Enough Early Architecture to Guide Development

Jon Kern discusses the best architecture/technical solutions and ensure that they are repeated by all developers. By tackling the architecture up-front in a serial manner, subsequent parallel development will be much more manageable and predictable. (May 28, Tech Talk)

Productive Programmer: On the Lam from the Furniture Police

This keynote describes the frustrations of modern knowledge workers in their quest to actually get some work done, and solutions for how to guard yourself against all those distractions. Neal Ford talks about environments, coding, acceleration, automation, and avoiding repetition as ways to defeat the misguided attempts to sap your ability to produce good work. (May 26, Tech Talk)

Auto-Scaling Your Existing Web Application

Gil demonstrates how new, aggressive uses of already abundant compute capacity by common applications offer competitive value for application designers. (May 21, Tech Talk)

Automating Hibernate Mapping and Queries For Java Web Development

Chris Keene introduces WaveMaker as a new way to automate the ability to generate Hibernate classes in order to more quickly bring OR mapping into an application. (May 19, Article)

Auto-Scaling Your Existing Web Application

In this session Nati Shalom demonstrates how to take a standard Java EE web application and scale it out or down dynamically without changes to the application code. Seeing as most web applications are over-provisioned to meet infrequent peak loads, this is a dramatic change because it enables growing your application as needed, when needed, without paying for unutilized resources. (May 19, Tech Talk)

Free Book: Jakarta-Struts Live

Download the entire book of Jakarta-Struts Live and learn about Struts MVC, Tiles, the Validator, DynaActionForms, plug-ins, internationalization, and more.
(Book PDF Download)

Application Server Matrix

The Application Server Matrix is a detailed listing of J2EE vendors and their application server products, with information on latest version numbers, J2EE spec support and licensing, pricing, platform support, and links to product downloads and reviews.
(Application Server Comparison Matrix)

News | Blogs | Discussions | Tech talks | Patterns | Reviews | White Papers | Downloads | Articles | Media kit | About
Java Solutions
All Content Copyright ©2007 TheServerSide Privacy Policy
Site Map