By Bill Roth | Article Rating: |
|
January 21, 2007 06:30 PM EST | Reads: |
24,970 |

In this post, I will be recounting my experience with Ubuntu server 6.10, WebLogic Workshop 9.2, and REST. Note: This in no way implies support of any kind from me or BEA. This is just the personal experiences of someone who can not keep his hands off the keyboard. This also gave me an opportunity to code up some REST samples, since many customer I come in contact with ask about it.
That said: I had a chance to play with the new Ubuntu server over the long weekend. I set up a server in my garage, and loaded the latest linux bits from WebLogic Platform. (Its actually labeled Portal 9.2, but Integration should be online shortly.) The first thing I noticed is that the installation did not complain at all about installing onto a non-supported platform. The second thing I noticed is that it just worked. I was able to start up a domain and get the samples server running almost immediately.
I have been working on Page Flows and XML Beans lately, trying to come up with some REST samples, since customers keep asking about it. Since I do most development from a laptop, I wanted to try setting up a remote server and see what it was like. I knew it was possible, since I read Chris Hogue's blog on remote debugging. Chris has warned me that it would be slow, and he was right, but this is to be expected across a network. Stepping through individual statements was painful, but is was mind-rendingly cool to see.
I was basically able to create a web service and a page flow for the Yahoo! GeoCode service over REST.
(Time for a momentary digression)
REST stands for "representational state transfer" and is "PhD-ease" for a network of pages, which represent state, and a client that uses data from that state to make decisions about where to go to next. Its an interesting take on the traditional finite state automata, or at the very least, an interesting application of it. (See the Wikipedia link above for more info)
(Back to the article)
I was able to easily catenate strings to create the request, and read the result, which I passed back as a String. From there, I used XML Beans' parsing mechanism to get the results into a workable form, based on Yahoo's GeoCode XSD, and then just returned it in the XML Beans generated type.
All of this was done from a Custom Control, which made it easy to then create a web service, (as shown in Chris Hogue's Web Services blog) and then add the same logic to a page flow. Since Workshop understands the Schema, it was easy to create forms to search and present the data.
Not bad way to waste a weekend. If you would like the code, drop me a note.
Published January 21, 2007 Reads 24,970
Copyright © 2007 SYS-CON Media, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
More Stories By Bill Roth
Despite his technical education, Bill Roth is VP of Marketing at Nexenta in Silicon Valley. He is formerly the Vice President of the BEA Workshop Business Unit. Prior to this he was Chief Technical Evangelist for Epiphany. With over 20 years in this industry, he has played numerous product marketing, product management and engineering roles at companies like Sun, Morgan Stanley, and GSI Commerce. He was recently named one of the World's 30 Most Influential Cloud Bloggers.
![]() |
WLDJ News Desk 11/28/06 10:20:18 PM EST | |||
In this post, I will be recounting my experience with Ubuntu server 6.10, WebLogic Workshop 9.2, and REST. Note: This in no way implies support of any kind from me or BEA. This is just the personal experiences of someone who can not keep his hands off the keyboard. This also gave me an opportunity to code up some REST samples, since many customer I come in contact with ask about it. |
- Three Tips to Successfully Load Test Adobe Flex Applications
- Graal, a Dynamic Java Compiler in the Works
- Write Once Run Anywhere or Cross Platform Mobile Development Tools
- Cross-Platform Mobile Website Development – a Tool Comparison
- It's the Java vs. C++ Shootout Revisited!
- Cloud Expo New York: The Java EE 7 Platform - Developing for the Cloud
- Three Buzzwords That Every CIO Hears but One They Should Listen To
- Google Analytics with Monitis Dashboard
- Scaling Java and JSP Apps with Distributed Caching
- How to Get Started with Java and NetBeans
- Cloud Expo New York Speaker Profile: Arun Gupta – Oracle
- Application Performance and Antipatterns
- Three Tips to Successfully Load Test Adobe Flex Applications
- Graal, a Dynamic Java Compiler in the Works
- Patterns for Building High Performance Applications
- Asynchronous Logging Using Spring
- Write Once Run Anywhere or Cross Platform Mobile Development Tools
- Cross-Platform Mobile Website Development – a Tool Comparison
- It's the Java vs. C++ Shootout Revisited!
- Cloud Expo New York: The Java EE 7 Platform - Developing for the Cloud
- Three Buzzwords That Every CIO Hears but One They Should Listen To
- Immersing into JavaScript Frameworks
- What's New in HTML5?
- Google Analytics with Monitis Dashboard
- A Cup of AJAX? Nay, Just Regular Java Please
- Java Developer's Journal Exclusive: 2006 "JDJ Editors' Choice" Awards
- JavaServer Faces (JSF) vs Struts
- The i-Technology Right Stuff
- Rich Internet Applications with Adobe Flex 2 and Java
- Java vs C++ "Shootout" Revisited
- Bean-Managed Persistence Using a Proxy List
- Reporting Made Easy with JasperReports and Hibernate
- Creating a Pet Store Application with JavaServer Faces, Spring, and Hibernate
- Why Do 'Cool Kids' Choose Ruby or PHP to Build Websites Instead of Java?
- What's New in Eclipse?
- i-Technology Predictions for 2007: Where's It All Headed?