Welcome!

Java IoT Authors: Pat Romanski, Elizabeth White, Liz McMillan, Yeshim Deniz, Mehdi Daoudi

Related Topics: Java IoT, Linux Containers

Java IoT: Article

Desktop Java: JDNC Released as Open Source Project

Desktop Java: JDNC Released as Open Source Project

  • Java Trends - Exclusive Interview with Amy Fowler

    In her extensive "Java Trends" interview with JDJ last month, Sun's Amy Fowler - technical lead of the Java Desktop Network Component (JDNC) project - said that the JDNC API "is targeted at Java developers who aren't necessarily Swing literate" and spoke of her "current fever to make rich Java clients easier to build."

    Now in her latest blog Fowler turns up the heat under the JDNC project, inviting developers to read up about it in her latest article, visit the project site, "and join in on making it happen."

    "After all,": Fowler adds, "who knows better than you [i.e., the developer] what would make your development life easier."

    The article she refers to, published at javadesktop.org, the java.net community for developers of apps with rich client interfaces, confirms that  JDNC has been released as an open source project.

    Fowler explains:

    "This enables us to make the technology available to you early enough so that you can directly shape the vision, the feature set, and even the code. There is still a lot of work to do — the JDNC feature set is far from complete and there remain rough edges, especially in the API, which has not had extensive usage outside of unit testing and markup-driven use-cases. But, that is exactly why we need your involvement."

    "Work with us as we make the technology marry better with tools." she continues, "File bugs and requests for enhancements. Submit code changes. Submit new components. We are anxious to engage directly with you to make Java desktop client development as productive and satisfying as we all know it can be."

    In her article, Fowler writes explains that the need for JDNC was inspired by the realization that, although applications rarely fit neatly into a cookie-cutter mold, many of the apps which enterprise developers need to build do share a common cross-section of functionality.

    "In developing JDNC," she writes,  "we are creating shortcuts for these common features so that developers can get applications up very quickly and then easily enhance them over time. Central to these "shortcuts" is a suite of very high level user-interface (UI) components which leverage Swing, but provide common functionality in a simpler JavaBeans component API."

    "Although these components are indeed the project's namesake, they are only part of the solution," Fowler adds.

    "The most central feature shared by what we call "data-centric, enterprise desktop clients" is connecting users with data — loading it, viewing it, filtering it, editing it, validating it, saving it, and so on. And these days that data is usually tied to a network data source, such as an SQL database, HTTP servlet, or WebService, bringing with it the complexity of networking. JDNC does the heavy lifting here, by providing built-in support for dealing with these network data sources, including multithreaded support (so the UI doesn't block during network operations) and incremental loading — hence, the "Network" in "JDesktop Network Components".

    The application model for a data-centric enterprise client boils down to the life cycle of its data. JDNC promotes this notion by supporting the pattern of clearly separating the data from the UI, but making it very easy to bind the two together. Application data is encapsulated in one or more client-side, UI-independent data models, such as a JDBC RowSet or a JavaBeans component. The data-model interface should be easy to understand and easily configurable from tools, with simple properties to configure its data source, metadata, edit constraints, validation logic, etc., and simple actions for common operations such as load, insert, modify, cache locally (for off-line use), and update (back to server). The UI components are then bound to that local data model (or models) with a simple syntax. From a tool the binding might be created by drawing a line between graphical representations of the two objects. The connection between the UI and the local data model is handled by JDNC's binding mechanism, which automatically handles input validation, type conversion, pushing and pulling values to/from the model, and reporting errors to the user. This frees the developer to focus on their data and how it should be presented in the UI, rather than on the plumbing which glues the two together."

    As JDNC is a work in progress, Fowler concedes that those involved have not yet implemented all the functionality required to realize this vision.

    For example, she notes that support for disconnected RowSets (JSR 114) will be included in the release following 0.5.

    "However, 0.5 does include an experimental version of a data-binding framework for Swing components which, being central to our purpose, should evolve substantially over the course of the project."
    Anyone interested can view JDNC's Feature Summary for detailed information about current and planned features, Fowler adds. 

  • More Stories By Java News Desk

    JDJ News Desk monitors the world of Java to present IT professionals with updates on technology advances, business trends, new products and standards in the Java and i-technology space.

    Comments (3)

    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
    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.
    Codete accelerates their clients growth through technological expertise and experience. Codite team works with organizations to meet the challenges that digitalization presents. Their clients include digital start-ups as well as established enterprises in the IT industry. To stay competitive in a highly innovative IT industry, strong R&D departments and bold spin-off initiatives is a must. Codete Data Science and Software Architects teams help corporate clients to stay up to date with the mod...
    At CloudEXPO Silicon Valley, June 24-26, 2019, Digital Transformation (DX) is a major focus with expanded DevOpsSUMMIT and FinTechEXPO programs within the DXWorldEXPO agenda. Successful transformation requires a laser focus on being data-driven and on using all the tools available that enable transformation if they plan to survive over the long term. A total of 88% of Fortune 500 companies from a generation ago are now out of business. Only 12% still survive. Similar percentages are found throug...
    Druva is the global leader in Cloud Data Protection and Management, delivering the industry's first data management-as-a-service solution that aggregates data from endpoints, servers and cloud applications and leverages the public cloud to offer a single pane of glass to enable data protection, governance and intelligence-dramatically increasing the availability and visibility of business critical information, while reducing the risk, cost and complexity of managing and protecting it. Druva's...
    BMC has unmatched experience in IT management, supporting 92 of the Forbes Global 100, and earning recognition as an ITSM Gartner Magic Quadrant Leader for five years running. Our solutions offer speed, agility, and efficiency to tackle business challenges in the areas of service management, automation, operations, and the mainframe.
    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...
    With 10 simultaneous tracks, keynotes, general sessions and targeted breakout classes, @CloudEXPO and DXWorldEXPO are two of the most important technology events of the year. Since its launch over eight years ago, @CloudEXPO and DXWorldEXPO have presented a rock star faculty as well as showcased hundreds of sponsors and exhibitors! In this blog post, we provide 7 tips on how, as part of our world-class faculty, you can deliver one of the most popular sessions at our events. But before reading...
    DSR is a supplier of project management, consultancy services and IT solutions that increase effectiveness of a company's operations in the production sector. The company combines in-depth knowledge of international companies with expert knowledge utilising IT tools that support manufacturing and distribution processes. DSR ensures optimization and integration of internal processes which is necessary for companies to grow rapidly. The rapid growth is possible thanks, to specialized services an...
    At CloudEXPO Silicon Valley, June 24-26, 2019, Digital Transformation (DX) is a major focus with expanded DevOpsSUMMIT and FinTechEXPO programs within the DXWorldEXPO agenda. Successful transformation requires a laser focus on being data-driven and on using all the tools available that enable transformation if they plan to survive over the long term. A total of 88% of Fortune 500 companies from a generation ago are now out of business. Only 12% still survive. Similar percentages are found throug...
    Scala Hosting is trusted by 50 000 customers from 120 countries and hosting 700 000+ websites. The company has local presence in the United States and Europe and runs an internal R&D department which focuses on changing the status quo in the web hosting industry. Imagine every website owner running their online business on a fully managed cloud VPS platform at an affordable price that's very close to the price of shared hosting. The efforts of the R&D department in the last 3 years made that pos...