Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / First Aid / January 2007

Tip: Looking for answers? Try searching our database.

autoapplet generation from XML file

Thread view: 
AnetaKvel - 17 Jan 2007 03:40 GMT
Hi guys,
I need some help, I developing a project that uses XML and applets. For
this I need reference codes which could generate applets automatically
from the XML document. Please suggest me the links that has similar
codes. If possible please suggest me the possible codes for the XML
parsing other than SAX parser classes.
Thank you in advance
Andrew Thompson - 17 Jan 2007 04:14 GMT
..
> I need some help,...  applets.

Since I have nothing to add on automatic code
generation (no experience) I will comment only
on the applets in asking..

Why applets, rather than applications?
(An application can provide almost anything
that an applet can provide, and very much
more.)

Andrew T.
AnetaKvel - 17 Jan 2007 04:58 GMT
my friends suggested that it's easy to embbed an applet into the
webpage that is created by JSP so i prefer using applets rather than
application even if an application does the same
functionality(automatic generation) can i get some coding example for
reference.
Andrew Thompson - 17 Jan 2007 05:26 GMT
> my friends suggested that it's easy to embbed an applet into the
> webpage that is created by JSP

I'm afraid your friend is wrong.  Applets are more
effort to develop and deploy (in a way so they work),
and a *web* *start* application is much easier for the
end user.

I stressed web start because it is a very different
user experience to a conventional application, very
'slick and easy'.  Here are some simple examples..
<http://www.physci.org/jws>

>...so i prefer using applets rather than
> application even if an application does the same
> functionality(automatic generation) can i get some coding example for
> reference.

But I am not sure my original understanding of
your problem was correct.  As I understnad you now,
you simply need to parse some XML and present
GUI elements to represent the nodes.

Here is an example..
<http://groups.google.com/groups?selm=1153744628.289088.11060@s13g2000cwa.googleg
roups.com
>
..note that applet is actually parsing a very specialised
(very strict) form of HTML, but the process was actually
designed for *XML*.  

Is that close to what you need?

Andrew T.
AnetaKvel - 17 Jan 2007 06:11 GMT
thank you for your code it's a bit close to what i require. a skelton
code.but i'll be back with more questions when i code it completely.
AnetaKvel - 17 Jan 2007 04:47 GMT
the Applet has to generate cascading popup menu from the XML document.i
require the child nodes to be the menu items and not the details.please
send me any details regarding to this requirement.
sorry for my english i'm not a native speaker so bear with me


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.