Skip to main content

merging jdnc into existing projects

4 replies [Last post]
Anonymous

Hi,

first of all, your project looks promising, i hope it gets the needed
audience to make it a success.

I read some documents about jdnc and its still quite unclear to me how
to incorporate jdnc into exisiting rich-client projects.

I am using JGoodies (SwingSuite) to a great extent in creating my
desktop application and now it seems a good idea to use jdnc table (for
example) inside my applications. Creating an XML to define how the
tables should look like is a good idea, but i dont want to define my
data inside the XML with enums, but i want to submit my own tableModel
to the jdnc table.

So, some questions arise:

1. Is jdnc built with such merging in mind?
2. are there any documents for integration into existing projects?

Thanks for clearifying.

--
regards
Marc Logemann
http://www.logemann.org
http://www.logentis.de

---------------------------------------------------------------------
To unsubscribe, e-mail: jdnc-unsubscribe@jdnc.dev.java.net
For additional commands, e-mail: jdnc-help@jdnc.dev.java.net

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Anonymous

From what I understand by looking at the code and the features, the following is what I learnt:

1) The key to understanding how JDNC works is the tier diagram they provide on this website separating the markup language, JNDC Api and the enhanced components.
2) In addition to the above, I briefly glanced in the org.jdesktop.swing.Application and Binding classes. I figured these and other classes provide the infrastructure for a WindowManager (like GNOME or KDE in Linux) and client-side application life cycle management.
I however don't know how restrictive or flexible this will be unless I experiment.
I have worked with a framework with similar functionality but with lesser number of classes than this one. The proliferation of classes suggests an attempt at providing flexibility.
However, the number of classes don't automatically/necessarily suggest real flexibility because even a small peice of functionality or one that may be used rarely may contibute more to the plethora of classes than a big fat piece of functionality or one that is widely used..
===================================
"..Creating an XML to define how the tables should like is a good idea, but i dont want to define my data inside the XML with enums, but i want to submit my own tablemodel to the jdnc table.."

I totally agree. Data, and for that matter, metadata is generated dynamically and hardcoding or defining column types inside XML is not the best practice. But in their defense, they have already said this is for novices or programmers who are not good at Swing.

===============================
"..are there any documents for the integration into existing documents.."

To get my feet wet, I tried to read the JDNC markup tutorial, but that link is broken. Could someone please fix it?

Marc Logemann

Hi,

I really would like to see the following (announced) documents:

API Tutorial: step-by-step exercizes which demonstrate how to build
simple clients with the JDNC components. (TBD).

API Examples: Examples of how to use the Swing Extensions directly. (TBD)

I just read through JXTable and all the related stuff and i dont wanna
do a trial and error how to use it inside my existing swing
applications, because its not too easy to understand. They allready put
so many features into the JDNC Tables, that i am looking forward to use
them in my apps. Besides, i have many other suggestions in enhancing the
exisiting tables, but the first steps are still to hard to do. We need
more howto material.

This project reminds me of the very first SWT releases, much hype, few
documentation, resulting in very slow adoption of stand-alone SWT apps.
(dont like SWT anyway, so its doesnt matter to me personally)

Marc logemann

jdnc-interest@javadesktop.org wrote:
>>From what I understand by looking at the code and the features, the following is what I learnt:
>
> 1) The key to understanding how JDNC works is the tier diagram they provide on this website separating the markup language, JNDC Api and the enhanced components.
> 2) In addition to the above, I briefly glanced in the org.jdesktop.swing.Application and Binding classes. I figured these and other classes provide the infrastructure for a WindowManager (like GNOME or KDE in Linux) and client-side application life cycle management.
> I however don't know how restrictive or flexible this will be unless I experiment.
> I have worked with a framework with similar functionality but with lesser number of classes than this one. The proliferation of classes suggests an attempt at providing flexibility.
> However, the number of classes don't automatically/necessarily suggest real flexibility because even a small peice of functionality or one that may be used rarely may contibute more to the plethora of classes than a big fat piece of functionality or one that is widely used..
> ===================================
> "..Creating an XML to define how the tables should like is a good idea, but i dont want to define my data inside the XML with enums, but i want to submit my own tablemodel to the jdnc table.."
>
> I totally agree. Data, and for that matter, metadata is generated dynamically and hardcoding or defining column types inside XML is not the best practice. But in their defense, they have already said this is for novices or programmers who are not good at Swing.
>
> ===============================
> "..are there any documents for the integration into existing documents.."
>
> To get my feet wet, I tried to read the JDNC markup tutorial, but that link is broken. Could someone please fix it?
> ---
> [Message sent by forum member 'AR' (Ananth Raghuraman)]
>
> http://www.javadesktop.org/forums/thread.jspa?messageID=15695&#15695
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jdnc-unsubscribe@jdnc.dev.java.net
> For additional commands, e-mail: jdnc-help@jdnc.dev.java.net
>
>
>

--
regards
Marc Logemann
http://www.logemann.org
http://www.logentis.de

---------------------------------------------------------------------
To unsubscribe, e-mail: jdnc-unsubscribe@jdnc.dev.java.net
For additional commands, e-mail: jdnc-help@jdnc.dev.java.net

Mark Davidson
Offline
Joined: 2006-02-17
Points: 0

Hi Marc,

Thanks for your participation in this forum.

> I really would like to see the following (announced)
> documents:
>
> API Tutorial: step-by-step exercizes which
> demonstrate how to build
> simple clients with the JDNC components. (TBD).

Yes. We will be working on this with our tech writer Sharon in the coming months to make this a reality. Sharon wrote the JDNC XML tutorial: http://javadesktop.org/jdnc/0_5/docs/tutorial/index.html

> API Examples: Examples of how to use the Swing
> Extensions directly. (TBD)

I just gave a partial answer to this:
http://www.javadesktop.org/forums/thread.jspa?threadID=3055&messageID=15...

More examples are coming down the pipeline. James Todd from JXTA fame is commited to this and wants to rewrite much of his UI code to take advantage of swingx/JDNC features. I'll be helping him on this.

I've also implemented a redesigned BlogEd ui based on swingx. I was waiting for JDNC to be released and for it to be code reviewed before commiting this.

> This project reminds me of the very first SWT
> releases, much hype, few
> documentation, resulting in very slow adoption of
> stand-alone SWT apps.
> (dont like SWT anyway, so its doesnt matter to me
> personally)

Welcome to the world of open source ;-)

Hopefully, we can back up the hype by delivering high quality technology that you can put to use in your own solutions.

Unlike SWT, JDNC is based on a mature and stable platform independent UI toolkit (Swing). All Sun's resources working on JDNC will be spent focusing on providing solutions that leverages Swing/JDNC rather than resolving fundamental toolkit issues.

I use swingx for many applications that I've written internally so it's just a matter of getting the approval of releasing them and the tech writer resources for some documentation.

--Mark

James Todd

re ...

> I just gave a partial answer to this:
> http://www.javadesktop.org/forums/thread.jspa?threadID=3055&messageID=15...
>
> More examples are coming down the pipeline. James Todd from JXTA fame is commited to this and wants to rewrite much of his UI code to take advantage of swingx/JDNC features. I'll be helping him on this.
>
> I've also implemented a redesigned BlogEd ui based on swingx. I was waiting for JDNC to be released and for it to be code reviewed before commiting this.
>

!big time!

this stuff completely rocks.

of the 3 candidate projects:

myjxta, jxta-config, bloged

we'll go for myjxta and bloged (per mark) initially as volker (who subscribes
to this list) would like to proceed with his initial implementation (which i
support) and work to figure out how best to blend jdnc into the mix in time.

for myjxta i'm going for JNTreeTable and JNEditorPane.

jdnc-interest@javadesktop.org wrote:
> Hi Marc,
>
> Thanks for your participation in this forum.
>
>
>>I really would like to see the following (announced)
>>documents:
>>
>>API Tutorial: step-by-step exercizes which
>>demonstrate how to build
>>simple clients with the JDNC components. (TBD).
>
>
> Yes. We will be working on this with our tech writer Sharon in the coming months to make this a reality. Sharon wrote the JDNC XML tutorial: http://javadesktop.org/jdnc/0_5/docs/tutorial/index.html
>
>
>>API Examples: Examples of how to use the Swing
>>Extensions directly. (TBD)
>
>
> I just gave a partial answer to this:
> http://www.javadesktop.org/forums/thread.jspa?threadID=3055&messageID=15...
>
> More examples are coming down the pipeline. James Todd from JXTA fame is commited to this and wants to rewrite much of his UI code to take advantage of swingx/JDNC features. I'll be helping him on this.
>
> I've also implemented a redesigned BlogEd ui based on swingx. I was waiting for JDNC to be released and for it to be code reviewed before commiting this.
>
>
>>This project reminds me of the very first SWT
>>releases, much hype, few
>>documentation, resulting in very slow adoption of
>>stand-alone SWT apps.
>>(dont like SWT anyway, so its doesnt matter to me
>>personally)
>
>
> Welcome to the world of open source ;-)
>
> Hopefully, we can back up the hype by delivering high quality technology that you can put to use in your own solutions.
>
> Unlike SWT, JDNC is based on a mature and stable platform independent UI toolkit (Swing). All Sun's resources working on JDNC will be spent focusing on providing solutions that leverages Swing/JDNC rather than resolving fundamental toolkit issues.
>
> I use swingx for many applications that I've written internally so it's just a matter of getting the approval of releasing them and the tech writer resources for some documentation.
>
> --Mark
> ---
> [Message sent by forum member 'Mark Davidson' (Mark Davidson)]
>
> http://www.javadesktop.org/forums/thread.jspa?messageID=15802&#15802
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jdnc-unsubscribe@jdnc.dev.java.net
> For additional commands, e-mail: jdnc-help@jdnc.dev.java.net
>

--
Java == platform independence
XML == application independence
JXTA == network independence

Secure End-to-End Computing

---------------------------------------------------------------------
To unsubscribe, e-mail: jdnc-unsubscribe@jdnc.dev.java.net
For additional commands, e-mail: jdnc-help@jdnc.dev.java.net