Log on:
Powered by Elgg

Matthew Weaver :: Feeds

December 16, 2010

RIA Integration: Bits and Pieces, Part One

There are many ways to have various software components to communicate in Java EE enterprise architecture.  The same is applicable for integrating rich Internet Applications written in Adobe Flex and Java EE systems. Let’s consider the following scenario:

An application A is being developed using Flex-BlazeDS-Java, and it needs to integrate with a third-party Java-based Web application B, where the users must register, otherwise they can’t continue using the application A.
Of course, to implement this scenario you can engage some of the business process management software packages that will allow you to describe and configure the workflow with minimum or no coding. But the less moving parts are used in the architecture the better. Here’s the pretty simple way to implement our scenario.

Step 1. When the user presses the button on Flex view, the code is being executed inside the virtual machine – Flash Player, which in turn is sitting inside HTML wrapper.    So the first goal is to make a call from inside the Flash Player to the outside world. Using the ActionScript class ExternalInterface you can map the internal function, say registerUserAS() to the wrapper’s JavaScript function registerUserJS(). You have to write both of these functions yourself.

Step 2. The JavaScript function registerUserJS() opens the URL of the application B in a separate Web browser window, where the user registers as required by the application B.

Step 3.  In the application A, develop and deploy Java servlet, say RegistrationCompleteServlet that can be called by the application B when the user successfully completed the registration. During this call, the application B will pass to the servlet a Data Transfer Object  RegistrationInfoDTO, with all required registration details.

Step 4.  The RegistrationCompleteServlet and BlazeDS are collocated in the same Java Servlet container(e..g. GlassFish, Tomcat, et al). The RegistrationCompleteServlet initiates a push of the RegistrationInfoDTO to the BlazeDS destination RegistrationDest with the routing to the proper client. How to push the data to the client over the AMF protocol is described in our book Enterprise Development with Flex.

Step 5. Almost forgot to mention that during the startup, our Flex application has created a Consumer subscribed to the messages from the destination RegistrationDest. As soon as the RegistrationInfoDTO is published to this destination, Flex client will receive it and let the user into the next view with a nice greeting, “Thank you, Yakov for registering. Your credit card information has been validated”.

That’s’ all there is to it. I’ve included “Part 1” in the title of this blog, because hoping that this will become a series of writeups on integrating Flex and Java EE.

read more


December 15, 2010

Silanis Announces November Winner of iPad Contest for e-SignLive

To commemorate e-SignLive’s new support for the Apple iPad, Silanis today announced Adrian Griffith of Oval Business Solutions as the November winner of the monthly iPad contest which closes December 31, 2010. Oval Business Solutions is a full service business consulting and application development firm based in the United Kingdom. The company specializes in productivity optimization - working with organizations of all sizes to increase efficiency through better systems and processes.

read more


Apache Quits JCP, Damns Java as ‘Oracle-Proprietary’

A disgusted Apache Software Foundation (ASF) has resigned its seat on the Java SE/EE Executive Committee (EC) after failing to incite the rest of the committee to spit in Oracle’s eye and hold the Java SE7 spec hostage until Oracle capitulated and gave Apache’s open source Harmony project a TCK license for Java SE. Instead of a mutiny, the EC meekly rubberstamped the Oracle-submitted spec last week. Only Apache and Google, which has got a vested interest in Harmony, voted against it. As a result, Apache is pulling its people out of all JSRs and says it “will refuse any renewal of our JCP membership and, of course, our EC position.”

read more


December 14, 2010

JBoss Team Reunites in the Cloud

"While we’ve already begun executing aggressively, this financing will help us further fuel delivery and adoption of our PaaS," said CloudBees Founder & CEO Sacha Labourey as he announced recently that CloudBees had secured $4 million in Series A financing led by Matrix Partners with participation from individual investors, including JBoss founder Marc Fleury and JBoss/HP/Bluestone veteran Bob Bickel.

read more


December 13, 2010

Hacking or Design Patterns?

Earlier this year, in an interview for Oracle, I made a statement defending hacking. Yesterday, I found a thread on theserverside.com where java developers were sharing their view on the subject. In this blog I’ll take the same two quotes there ignited some arguments and will try to explain my point of view. 1. "Recently, I've been running a seminar for a small group of Java developers. Several times they've asked me, 'Is this code an example of MVC pattern?' I got the impression that implementing MVC had become an end in itself. Using Design Patterns is not a dogma. Just write the code that makes sense. Not everything that makes sense has a named design pattern."

read more


December 12, 2010

The Countdown to Cyber War

The Wiki war started late last Friday when PayPal “permanently restricted the account used by WikiLeaks due to a violation of the PayPal acceptable use policy, which states that our payment service cannot be used for any activities that encourage, promote, facilitate or instruct others to engage in illegal activity. We’ve notified the account holder of this action.” WikiLeaks said there was €60,000 in the PayPal account, close to $80,000. PayPal subsequently said the money would be turned over to WikiLeaks. Wired claims that “most of the over $1 million in contributions WikiLeaks has drawn in the last year have come through its PayPal account.” And the Financial Times quoted WikiLeaks as saying “its operational costs have been three times higher than it expected at the beginning of the year.” It’s unclear whether that includes Assange’s mounting legal bills.

read more


SGI Selling Mini-Containers

SGI is out selling a junior version of the classic shipping container that companies have taken to using for data centers. Since it’s not your ISO standard 20- or 40-foot container it won’t be as easy or cheap to haul around. They don’t stack neatly on each other or on their bigger brothers but SGI says the new ICE Cube Air box appeals to people who don’t want to commit to the giant containers like SGI’s big ISO-standard water-cooled ICE Cube. Anyway, the eight-foot ICE Cube Air, which can house four fixed or roll-in racks, each 51U high, can scale by hitching up to four of them together side-by-side. The company says it’s already got orders for the thing which starts at $99,000 before any computing gear goes into it. It can be anybody’s x86 systems and storage. SGI’s not fussy although it hopes it will be its hardware.

read more


Microsoft Gets Big Cloudy Federal Deal

Microsoft has brought home a bigger deal with the federal government than Google did last week when it hung a brace of 15,000 Gmail and Google Apps seats at the General Services Administration (GSA) on the wall. Microsoft’s got a contract for 120,000 e-mail, instant messaging, web conferencing and document-sharing seats with the Department of Agriculture. It’s supposed to be the largest government adoption of cloud software yet, according to Microsoft. Google complained that it wasn’t allowed to bid. It’s already suing the Department of the Interior over an 88,000-seat messaging contract that went to Microsoft because it specified Microsoft. Half the USDA already uses Exchange, which made its decision easier. Everything else is a confusion of other systems.

read more


Cisco and BMC Cut Strategic Alliance

Cisco and BMC have got themselves a strategic alliance to develop and market new solutions for large-scale multi-tenant cloud infrastructures. They’re supposed to align their product roadmaps and technology architectures. As part of the alliance, they’ve got a new Integrated Cloud Delivery Platform for service providers and large-scale private cloud computing environments. It’s supposed to make it easier to deploy end-to-end cloud services on cloud infrastructures that involve data center networks, computing systems, storage and applications by eliminating many of the complex, manual steps required to set up and provision a cloud computing service.

read more


Wiki War Breaks Out

Even before WikiLeaks mastermind Julian Assange got hauled off to Wandsworth Prison in southwest London Tuesday, vigilantes acting in support of his rogue site started unleashing a torrent of punishing denial of service attacks on the financial institutions that turned the spigot off on the donations WikiLeaks needs to survive and pay Assange’s legal bills. That includes PayPal, MasterCard, Visa and the Swiss Post bank. Amazon.com, which booted WikiLeaks off its cloud last week, was threatened again Thursday but reportedly the new avenging angel lacked the “forces” given Amazon’s EC2-style elasticity. The ruffians pushed on to PayPal. Twitter is also a possible target for not allowing WikiLeaks discussions to “trend” to the top of the heap.

read more


December 11, 2010

Apache Software Foundation Leaves the JCP Executive Committee

Apache Software Foundation left the JCP Executive Committee. This step caused turmoil in the Java community. Java developers started take sides.  How do you take sides these days? You twit, you blog, you facebook. Some die hard folks sent emails.

Why won’t I take a side too? But first, I’ll make a bold assumption.  Ninety five percent of Java developers don’t even know what the JCP is. Don’t believe me? Start asking the following question while interviewing job applicants, “What’s the difference between JCP, JSP, JSR, and JSF?”  Then post interesting answers as comments to this blog. It’ll be fun.

Prior to the release, each version of Java SE, ME, or EE  is a described in a set of specifications. For example, two weeks ago, JSR 336 has been passed – it contained the description  of the Java SE 7 content. Preparing of this document (let’s name it Borsch) if took four years after the release of Java SE 6. Similarly, Java EE is defined in e specifications for various technologies such as Servlets, JavaServer Pages (JSP), Enterprise Java Beans (EJB), Java Messaging Service (JMS) et al.

Each of these specifications has been defined by an open organization called Java Community Process (JCP). If a person or a group of people decides to propose a specification for some future technology, they would create so called Java Specification Request (JSR) and form a group of experts working on this specification. JSRs are numbered. For example, the specification for Servlets 3.0 was described in JSR 315. Let me pretend that I don’t know how painful the process of accepting the final release of JSR 315 was.

If you decide to get familiar with any specific JSR, visit this Web site . Currently, Java EE includes 45 JSRs, Java SE has 44, and Java ME (Micro Edition covers small devices) consists of 85. In other words, Java EE is (was?) based on standards.

Early in the morning, ten women have gathered in the kitchen of a poor but very friendly and outgoing lady called Sunny to cook Borsch. Each one brought her own recipe.  Hours passed by but they still couldn’t agree on the set of ingredients to put in the pot.  Finally, the burner was turned on, but another arguments began,  “What’s the right level of the lid closure?”

Interestingly enough, the ladies didn’t care that much about the Borsch any longer. They really enjoyed The Process (a.k.a. Java Community Process). When Sunny’s husband came home, he saw ten happy ladies and no dinner on the table. No biggies. There was a pack of shrimps in the freezer, and 15 minutes later everyone enjoyed the dinner.

 Am I loosing track here?  Oh, yeah! Apache has left the JCP.  Does it mean that these people won’t answer the phone when Oracle engineers will ask their opinion about some of the upcoming features of Java? Sure they will. Engineers always talk to engineers even though it’s sad that Oracle lawyers try to seriously censor what can be said. Are they unique in that? Hell no!  Last week, one of the Java community leaders sent an email to the certain mailing list announcing that this was his last post about one Java-related subject because he was hired by Google…

Does it mean that Oracle wants to hurt Java while having all their middleware written in this great language? Of course not. Oracle has talented engineers, and they will find a way to listen to the community feedback regarding the future of Java with or without JCP. Will they cook Borsch even slower than the JCP did? I doubt it.

read more


December 09, 2010

Using HTML5 Application Cache to Create Offline Web Applications

HTML5 introduces Application Cache, a new feature that enables you to make web apps and sites available offline. The new specification also provides an easy way to prefetch some or all of your web app’s assets (HTML files, images, CSS, JavaScript, and so on) while the client is still online. During this caching process, files are stored in an application cache, where they sit ready for future offline use. Compare this to regular browser caching, in which pages that you visit are cached in the browser’s cache based on server-side rules and client-side configuration. But—even if web pages are cached normally, this does not provide a reliable way for you to access pages while you’re in offline mode (in an airplane, for example). In addition, an application cache can cache pages that have not been visited at all and are therefore typically unavailable in the regular browser cache. Prefetching files can even speed up your site’s performance, though you are of course using bandwidth to download those files initially.

read more


Oracle to Present on Java in the Cloud at Cloud Expo 2011 New York

GlassFish, the Reference Implementation of Java EE 6, can easily run on multiple cloud infrastructures. Learn how to create a simple Java EE 6 sample application and deploy them on GlassFish v3 running locally and then deploy it using Amazon, RightScale, Joyent, and Elastra cloud infrastructures. In his session at the 8th International Cloud Expo, Arun Gupta, Java EE and GlassFish evangelist at Oracle, will provide a brief introduction to Java EE 6 and GlassFish v3. In addition he will talk about what Java EE currently offers for the cloud and the future directions in Java EE 7 in relation to cloud.

read more


December 08, 2010

Larry Gets His Way with Java

The open source Apache Software Foundation failed to rally the Java Community Process (JCP) to its side and force Oracle to release the Java compatibility test kits (TCKs) that would let it certify Project Harmony, its breakaway open source version of Java Standard Edition for Linux, as real Java, and rescind the Field-of-Use (FOU) restrictions that make it impossible for Harmony to be distributed under an Apache License whether it’s certified or not.

read more


December 07, 2010

ServerSide.com Reply to: Java on the Client… Again

Cameron McKenzie from TheServerSide.com posted a reply and summary to Yakov's and my blog post: Java on the client...again.

read more


Google To Show Off ‘ChromeBook’

Google is supposed to unveil a beta Chrome OS on a generic Atom-based netbook Tuesday and put the Google-branded thing into limited circulation in the run-up to a commercial product next year. Reportedly no more than 65,000 of this first-stab widget will be made as an appeal to developers.

read more


December 06, 2010

Business Coaching on Apple's iPad Now a Reality

FocalPoint Business Coaching, the world's most recognized Business and Executive Coaching team today announced the release of the iPad edition of its entire Business and Executive Coaching library, now available at the App Store. The brands easy-to-navigate application is designed for Business Owners and Executives who are working with a FocalPoint Coach. The App contains the same content the brand has always used to successfully guide business improvement, but with the addition of intuitive links to take advantage of the innovative display and Multi-Touch interface

read more


December 05, 2010

PaaS: .NET vs Java EE

Java Enterprise Edition is the most dominating platform for the enterprise applications. Hence stronger presence of Java EE as PaaS will support Cloud Adoption. Some of the players are discussed in this article. Ever since the beginning of this century a comparison between the platform capabilities of Java EE (Java Enterprise Edition) and Microsoft .NET has been a common discussion when choosing an enterprise platforms. With the advent of Cloud, Microsoft has taken a lead with the Windows Azure PaaS (Platform as a Service). Many key decision makers for cloud enablement now have questions on how good an equivalent Java EE platform could be.

read more


December 04, 2010

Everyone Is a Software Developer

For years, everything has been moving to computers. But it hasn’t always been easy. Many things about computers are highly technical, densely interrelated and generally frustrating. For businesses, it takes a lot of money to dive deeply into technology. Companies spend a material percentage of their budgets on IT-related products and services. The way the process works, you have business people who know what they want to accomplish, you have analysts who translate that into something systematic, and then highly trained developers labor for hours producing it. But that’s all changing. Remember when there used to be secretaries and typists? Today, word processors and e-mail empower everyone to type their own correspondence and documents. The same thing is happening with software.

read more


Oracle Counts Clouds

The Independent Oracle Users Group (IOUG), which has 20,000 members, has run up an Oracle-sponsored survey that found significant cloud adoption by Oracle users. It polled 267 IT technology professionals and data managers: 29% reported they’ve already deployed an internal cloud and 37% indicated some piece of their workload processing or infrastructure is now available through private cloud services. The emphasis is on private platforms-as-a-service (with database and middleware capabilities). Adoption of private cloud services for IT workload processing or infrastructure is outpacing the use of public platform service providers, and the security of public clouds and online application services is a concern.

read more


Ellison-Aligned NetSuite Attacks SAP

NetSuite – which, as it happens, is majority-owned by Larry Ellison who has just returned from a courtroom battle with SAP utterly victorious – is waving around an amusing little TCO comparison of its ERP cloud software suite against SAP’s revivified Business ByDesign (BBD) widgetry that suggests that ByDesign five-year costs run over $500,000 for only 10 users. NetSuite is supposed to be 40%–70% cheaper and naturally it claims way more bells and whistles – half again as much functionality. NetSuite used SAP’s own online TCO calculator for the SAP calculations (http://bit.ly/SAPTCO), which is supposed to demonstrate BBD’s value compared to on-premise software.

read more


Server Sales Up

Worldwide server sales were up 14.2% in Q3 and vendor revenue spiked 15.3% to $10.66 billion, according to Gartner, which credited data center and cloud buildouts. HP retained pride of place with 32.1% of the revenues, up 1.9%. All of the top five global vendors except Oracle had year-on-year revenue increases. IBM was number two (30.2%, off 1.5%), Dell third (14.6%, up 1.2%), and Fujitsu fourth (4.7%, down a half a point). Oracle lost 1.2% of revenue share, a lot when you’re only left with 6.2%. Gartner said Dell grew its shipments 22.6% and was the only top five vendor to grow above the average. It benefited in part from a weak compare and an increased focus on its enterprise business, which the researcher says “is starting to pay dividends.”

read more


December 02, 2010

ITC to Investigate Apple’s Android Complaint Against Moto

The U.S. International Trade Commission is going to investigate Apple’s patent complaint against Motorola and its Android phones. It could theoretically ban Moto’s widgets from American shores. Meanwhile, Moto has complained to the ITC about Microsoft’s Xbox. Microsoft, which is also suing Moto’s Android phones for patent infringement, recently lodged other litigation claiming Motorola is demanding way too much for IP needed in Xbox. Moto is sorta returning the favor.

read more


December 01, 2010

The Must-Have Features of an Enterprise iPad Application

I have been using the iPad now since its launch and mostly in the last 6 months in a specific way. I am not a gamer, I am a part-time browser, but primarily I am a full-time Enterprise user. If you have been following me on Ulitzer, you would have already read that I use my iPad whenever I travel as a replacement to my MacBook, for presentations, document creation, spreadsheets, email etc. It is such a delight now to travel light with such a powerful and mobile device. So those features I have mentioned above translate to the iPad applications created by Apple, Keynote, Pages, Numbers, Mail etc, that have had much thought and design in the area of UX (User eXperience) by the Apple Engineers. I mention this because what became obvious within hours of getting my iPad was the fact that iPhone Apps, unless they are so simplistic, just suck on the iPad!!!

read more


November 30, 2010

Cloud Expo Sponsor Logicworks Betas infiniCloud

Enterprise hosting provider Logicworks is beta testing a cloud computing service targeted at sophisticated commercial and enterprise-level projects. It's called infiniCloud and the beta will run through the end of the year, with release to follow in January. It's an on-demand service priced familiarly according to RAM-hour, storage and bandwidth utilization combined with managed services purchased à la carte at fixed monthly rates. Logicworks president Kenneth Ziegler claims cloud computing has so far been used mostly as a testing and development medium or a way to offload non-critical applications or content. "When we talk about moving ‘real apps' into the cloud, we're targeting profit centers like prime time media sites, financial and healthcare applications, massive multi-player online games, and e-commerce. There is a real need in the marketplace for blending dynamic cloud computing and managed hosting for high-performance applications. We've built our managed cloud services to address this need, starting with infiniCloud."

read more


<< Back Next >>