• Post Reply Bookmark Topic Watch Topic
  • New Topic

Looking for web deployment pointers + keywords  RSS feed

 
george stylian
Greenhorn
Posts: 10
MS IE Netbeans IDE Notepad
  • Mark post as helpful
  • send pies
  • 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.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66304
152
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • 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.
 
Campbell Ritchie
Marshal
Posts: 56518
172
  • Mark post as helpful
  • send pies
  • 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
  • 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
Author and ninkuma
Marshal
Posts: 66304
152
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
I get this message back: 'jar' is not recognized as an internal or external command.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66304
152
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • 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: 56518
172
  • Mark post as helpful
  • send pies
  • 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
  • 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: 56518
172
  • Mark post as helpful
  • send pies
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!