• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Looking for web deployment pointers + keywords

 
Greenhorn
Posts: 10
MS IE Netbeans IDE Notepad
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, I was able to use netbeans to modify code found on oracle's demo page and create a clean-looking read-only GUI table index of engineering drawings with two sequential filters and the stock sorting / field shift features. I'd hoped to use this as a template, to copy in text strings exported from a microsoft access table and host the result online, but I haven't found any direct examples of that. Are the sample GUI's on oracle's page only intended for use on consoles? If so, I don't fully understand why it would be a benefit to write the code and use the resulting GUI instead of just using Microsoft access.

So my question is: how could I make that type of GUI available in a web browser? Does it need to be set up like some sort of web application, even though it's not intended to do anything except display records? I have experience writing and hosting simple web pages, some of which have used javascript, but based on my searches it doesn't seem that the TableSorterDemo code, etc, can simply be pasted into an html file.
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

based on my searches it doesn't seem that the TableSorterDemo code, etc, can simply be pasted into an html file.


Correct, you can download the GUI program from the web and run it locally (JNLP etc), or you can rewrite the whole thing using web technologies rather than desktop technologies if you want it to run on the web in a browser.
 
Marshal
Posts: 79178
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
And welcome to the Ranch
 
george stylian
Greenhorn
Posts: 10
MS IE Netbeans IDE Notepad
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks very much. After some more searching and studying I was able to apply the structure of this example, prepare a test HTML page and update my JNLP file. But now I'll test the 'no question too small' principle with something I got stuck on immediately:

Where, ie in what software or dialog, do I type the actual command to create the JAR file? ("jar cvfm DynamicTreeDemo.jar mymanifest.txt webstartComponentArch," in one example).

My first guess was in the command prompt window (via 'cmd' in windows 7's search programs and files field) but that doesn't seem to work.
 
Bear Bibeault
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What does "doesn't work" mean?
 
george stylian
Greenhorn
Posts: 10
MS IE Netbeans IDE Notepad
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I get this message back: 'jar' is not recognized as an internal or external command.
 
Bear Bibeault
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sounds like you do not have the JDK properly or completely installed on your system. Might just be an environment variable thing, but I'm not a Windows user so I'll let someone more savvy on Windows respond.
 
Campbell Ritchie
Marshal
Posts: 79178
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That sounds like the first error in the Java Tutorials.
 
george stylian
Greenhorn
Posts: 10
MS IE Netbeans IDE Notepad
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks again for time, patience and good information.

You were both correct and I was able to use the referenced tutorial to fix what indeed was an event variable issue. The variable name was "PATH" and the address it wanted was the bin directory of the JDK install.

After updating that, the cmd prompt window did begin to respond to the above commands and I was able to create the JAR file. I also learned that certain commands (c/C) are case sensitive.

I'm pleased to report near success with this project: thanks again. When I copied the JAR and JNLP files to my office's web server and activated a URL to the JNLP, I got "file not found" but I suspect that's because of some type of security setting. After I copied the files to my own godaddy server space, the sortable / filterable table downloaded and operated although "snowboarding" appeared again: my code edits to table filter demo did not get applied. But I'm quite sure this only means I need to do some more "compile" homework and then update / paste-replace the files.

 
Campbell Ritchie
Marshal
Posts: 79178
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

george stylian wrote:Thanks again for time, patience and good information. . . .

You're welcome

We have all had the same sort of problem ourselves, so we know about it.
 
Do not meddle in the affairs of dragons - for you are crunchy and good with ketchup. Crunchy tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic