Welcome!

Java IoT Authors: Zakia Bouachraoui, Pat Romanski, Elizabeth White, Liz McMillan, Yeshim Deniz

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
    Moroccanoil®, the global leader in oil-infused beauty, is thrilled to announce the NEW Moroccanoil Color Depositing Masks, a collection of dual-benefit hair masks that deposit pure pigments while providing the treatment benefits of a deep conditioning mask. The collection consists of seven curated shades for commitment-free, beautifully-colored hair that looks and feels healthy.
    The textured-hair category is inarguably the hottest in the haircare space today. This has been driven by the proliferation of founder brands started by curly and coily consumers and savvy consumers who increasingly want products specifically for their texture type. This trend is underscored by the latest insights from NaturallyCurly's 2018 TextureTrends report, released today. According to the 2018 TextureTrends Report, more than 80 percent of women with curly and coily hair say they purcha...
    The textured-hair category is inarguably the hottest in the haircare space today. This has been driven by the proliferation of founder brands started by curly and coily consumers and savvy consumers who increasingly want products specifically for their texture type. This trend is underscored by the latest insights from NaturallyCurly's 2018 TextureTrends report, released today. According to the 2018 TextureTrends Report, more than 80 percent of women with curly and coily hair say they purcha...
    We all love the many benefits of natural plant oils, used as a deap treatment before shampooing, at home or at the beach, but is there an all-in-one solution for everyday intensive nutrition and modern styling?I am passionate about the benefits of natural extracts with tried-and-tested results, which I have used to develop my own brand (lemon for its acid ph, wheat germ for its fortifying action…). I wanted a product which combined caring and styling effects, and which could be used after shampo...
    The platform combines the strengths of Singtel's extensive, intelligent network capabilities with Microsoft's cloud expertise to create a unique solution that sets new standards for IoT applications," said Mr Diomedes Kastanis, Head of IoT at Singtel. "Our solution provides speed, transparency and flexibility, paving the way for a more pervasive use of IoT to accelerate enterprises' digitalisation efforts. AI-powered intelligent connectivity over Microsoft Azure will be the fastest connected pat...
    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.