Welcome!

You will be redirected in 30 seconds or close now.

ColdFusion Authors: Yakov Fain, Jeremy Geelan, Maureen O'Gara, Nancy Y. Nee, Tad Anderson

Related Topics: Java IoT, Weblogic, Machine Learning , Recurring Revenue

Java IoT: Article

REA Is Where RIA Becomes the Norm

JDeveloper 11g is a complete end-to-end development platform

ADF Overview - Oracle Practicing What It Preaches
As a Java veteran you know Java EE is littered with the bodies of dead frameworks leaving a best-of-breed group and a selection of new but less well-tested siblings. As a sign of strength Oracle ADF has survived the test of time. Oracle ADF through its end-to-end development support provides a complete MVC Java EE framework that includes ORM solutions for working with the database, UI technologies for creating Web and desktop interfaces, and controller technologies for providing sophisticated interactions with the user, all based around Java EE industry standards. If you've used JDeveloper before you'll recognize one of ADF's earlier incarnations, BC4J. However you'd be wrong in equating the two since ADF is a complete end-to-end framework while the earlier BC4J only dealt with the database.

Thanks to the fact Oracle has adopted ADF for its own applications development, its innovations and extensions have accelerated beyond what we, Oracle's customers, requested. Normally it's we developers who drive demand for innovation in vendor products, yet since Oracle is eating its own dog food, we enjoy a range of new features raised by Oracle's huge internal development teams. This is quite evident in the provisioning of the ADF Faces Rich Client JSF UI components, data visualisation objects, task flow facilities, and greatly improved ADF Business Components, giving us a free ride in adopting JDeveloper 11g and ADF.

ADF Binding Layer - Your Hands Aren't Tied to Just One ORM
What's your preference in picking the ORM technology in a Java EE MVC solution? A POJO solution such as JPA/EJB3 that lets you focus on putting business rules in the mid-tier, or a heavyweight SQL-optimised set of components that use the optimized database to manipulate data and call stored procedures? Whatever your answer, half the world begs to differ, such is the normal infighting between Java EE framework users.

Oracle has carefully hedged its bets. Oracle ADF, by including the ADF binding layer API, supports more than one ORM in the same project. If your project team is comprised of Java purists, ADF will happily work with EJB/JPA or EclipseLink. If your team has a data-centric development background, Oracle has created ADF Business Components, especially useful to Oracle Forms programmers. Have it your way as they say.

The ADF binding layer adds a massive advantage to ADF projects because for Web programmers it abstracts away having to be concerned about how to call each and every ORM technology, and instead creates a standardized API that the ORM plugs into, and a standardized API that the Web technologies make use of. Gone is the challenge of having to understand multiple technical solutions and how to explicitly use and call them. And the ADF binding layer takes this further by letting you draw data not only from ORMs, but POJOs, files, even Web Services.

ADF Business Components - Declare Your Love for Groovy Programming
ADF Business Components (ADF BC) has come a long way since its inception in 1999 as Business Components for Java (BC4J). From the beginning ADF BC as a sophisticated ORM has modelled database transactions through Application Modules, queries through View Objects, and DML statements through Entity Objects. Ultimately ADF BC is a carefully orchestrated RDBMS-centric approach. JDeveloper 11g has built on the success of ADF BC to deliver further benefits to you as the developer.

Oracle has recognized writing code can make you your own worst enemy. Every line of code you write is a potential bug, and over the life of several projects you'll code the same thing again and again. Code reuse reduces this problem, but why not remove the code altogether? ADF BC in JDeveloper 11g uses declarative programming, providing you hundreds of well-tested properties to use and set that in turn provide a huge array of features that database-centric Java EE systems need.

For example, take data validation. A project team could code hundreds of individual data validation rules into a Java mid-tier such as mandatory field requirements, values between ranges, selections in a list of values, and so on. Then include an exception framework, some sort of error-message bundles; the code requirements go on and on fraught with programmer mistakes. Yet in ADF BC a declarative validator encompasses all of these. Select your validation rule type, the field you want to validate, an optional condition when to fire the rule, and finally the error message. Beyond that the tool does the rest - without a single line of Java. And if you're really hooked on Java, JDeveloper lets you use Java validation methods if you want, a Java by exception framework.

Maybe you want more? Modern scripting languages provide a terse language capability without the hang-ups of Java. Is there a happy medium between writing relatively verbose Java and using a lightweight declarative programming model? There is now. JDeveloper 11g introduces support for Goovy expressions, the ability to define many of the properties around the simpler-than-Java Groovy syntax. Default values, query bind variables, error-message parameters and validators all make use of the new expression support.

More Stories By Chris Muir

Chris Muir, an Oracle ACE Director, senior developer and trainer, and frequent blogger at http://one-size-doesnt-fit-all.blogspot.com, has been hacking away as an Oracle consultant with Australia's SAGE Computing Services for too many years. Taking a pragmatic approach to all things Oracle, Chris has more recently earned battle scars with JDeveloper, Apex, OID and web services, and has some very old war-wounds from a dark and dim past with Forms, Reports and even Designer 100% generation. He is a frequent presenter and contributor to the local Australian Oracle User Group scene, as well as a contributor to international user group magazines such as the IOUG and UKOUG.

Comments (2)

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.


IoT & Smart Cities Stories
@CloudEXPO and @ExpoDX, two of the most influential technology events in the world, have hosted hundreds of sponsors and exhibitors since our launch 10 years ago. @CloudEXPO and @ExpoDX New York and Silicon Valley provide a full year of face-to-face marketing opportunities for your company. Each sponsorship and exhibit package comes with pre and post-show marketing programs. By sponsoring and exhibiting in New York and Silicon Valley, you reach a full complement of decision makers and buyers in ...
While the focus and objectives of IoT initiatives are many and diverse, they all share a few common attributes, and one of those is the network. Commonly, that network includes the Internet, over which there isn't any real control for performance and availability. Or is there? The current state of the art for Big Data analytics, as applied to network telemetry, offers new opportunities for improving and assuring operational integrity. In his session at @ThingsExpo, Jim Frey, Vice President of S...
The Internet of Things is clearly many things: data collection and analytics, wearables, Smart Grids and Smart Cities, the Industrial Internet, and more. Cool platforms like Arduino, Raspberry Pi, Intel's Galileo and Edison, and a diverse world of sensors are making the IoT a great toy box for developers in all these areas. In this Power Panel at @ThingsExpo, moderated by Conference Chair Roger Strukhoff, panelists discussed what things are the most important, which will have the most profound e...
Two weeks ago (November 3-5), I attended the Cloud Expo Silicon Valley as a speaker, where I presented on the security and privacy due diligence requirements for cloud solutions. Cloud security is a topical issue for every CIO, CISO, and technology buyer. Decision-makers are always looking for insights on how to mitigate the security risks of implementing and using cloud solutions. Based on the presentation topics covered at the conference, as well as the general discussions heard between sessio...
The Jevons Paradox suggests that when technological advances increase efficiency of a resource, it results in an overall increase in consumption. Writing on the increased use of coal as a result of technological improvements, 19th-century economist William Stanley Jevons found that these improvements led to the development of new ways to utilize coal. In his session at 19th Cloud Expo, Mark Thiele, Chief Strategy Officer for Apcera, compared the Jevons Paradox to modern-day enterprise IT, examin...
Rodrigo Coutinho is part of OutSystems' founders' team and currently the Head of Product Design. He provides a cross-functional role where he supports Product Management in defining the positioning and direction of the Agile Platform, while at the same time promoting model-based development and new techniques to deliver applications in the cloud.
In his keynote at 18th Cloud Expo, Andrew Keys, Co-Founder of ConsenSys Enterprise, provided an overview of the evolution of the Internet and the Database and the future of their combination – the Blockchain. Andrew Keys is Co-Founder of ConsenSys Enterprise. He comes to ConsenSys Enterprise with capital markets, technology and entrepreneurial experience. Previously, he worked for UBS investment bank in equities analysis. Later, he was responsible for the creation and distribution of life settl...
There are many examples of disruption in consumer space – Uber disrupting the cab industry, Airbnb disrupting the hospitality industry and so on; but have you wondered who is disrupting support and operations? AISERA helps make businesses and customers successful by offering consumer-like user experience for support and operations. We have built the world’s first AI-driven IT / HR / Cloud / Customer Support and Operations solution.
LogRocket helps product teams develop better experiences for users by recording videos of user sessions with logs and network data. It identifies UX problems and reveals the root cause of every bug. LogRocket presents impactful errors on a website, and how to reproduce it. With LogRocket, users can replay problems.
Data Theorem is a leading provider of modern application security. Its core mission is to analyze and secure any modern application anytime, anywhere. The Data Theorem Analyzer Engine continuously scans APIs and mobile applications in search of security flaws and data privacy gaps. Data Theorem products help organizations build safer applications that maximize data security and brand protection. The company has detected more than 300 million application eavesdropping incidents and currently secu...