javaws and hsqldb distribution

JAVA

    Sponsored Links

    Next

  • 1. Use bluetooth connection to call an other mobile
    Hi I'm a student and I would like to realize a program for mobile phones that allows cominications with other phones, that means where there is a bluetooth network there is the possibilites to call totally free, have no other devices to buy and everyone that has a bluetooth telephone could use it.... On the business there is visual comminicator, that transforms a mobile in a walkie talkie, it's free but has a big problem, the buffer is 10 sec lenght, while I wanto to make a realtime converastion, so the buffer must be little in order to allow a normal conversation without breaks to charge the buffer.... This could be possible? J2ME enable the media api, i know, mobile phone can have realtime streming video, but realize all this only in java and only for j2me devices could be possible?? There is something similar on business? However can you send me a link where I can found mobile multimedia api documentation? I have the j2me doc, but is really big and try to read it trought pc screen is really tiresome, so what classes speak about streaming audio?? PS Can you send me also a model for bluetooth device/service discovery?? Thanks very much Alessio from Italy --------------------------------------------------------- Reach me at msn messenger XXXX@XXXXX.COM
  • 2. easiest way??
    what's the easiest way to create an infinite loop?? Cheers

javaws and hsqldb distribution

Postby IchBin » Mon, 26 Dec 2005 01:57:43 GMT

I am new to javaws and would like to use it. It seems to be a gold mine 
waiting to be used. I have looked at samples and have built some with 
tutorials. My question is how would I include a small read only HSQL 
database, along with the program, for distribution. Any tips or 
concerns.. Or articles about deploying a read only database with app for 
distribution. Just need some direction.

I have looked at Roedy Java Glossary for Java Web Start but did not see 
anything on deploying a database with the app. Maybe I missed it.			

Thanks in Advance... and a Merry Xmas..
IchBin, Pocono Lake, Pa, USA 
 http://www.**--****.com/ 
__________________________________________________________________________

'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor,  Regular Guy (1952-)

Re: javaws and hsqldb distribution

Postby ricky.clarkson@gmail.com » Wed, 28 Dec 2005 03:01:19 GMT

A HSQLDB database is just a file, or a directory.  You could just ship
it as you would ship any file with Java Web Start, as far as I know.

You'll also have to ship the driver .jar file (or merge it in somehow).

Sorry to be vague.  I don't know the issues involved, but it seems like
there's nothing special about a HSQLDB, it's just a set of files
(except the memory-only versions of course).


Re: javaws and hsqldb distribution

Postby Roedy Green » Wed, 28 Dec 2005 05:05:44 GMT

On Sat, 24 Dec 2005 11:57:43 -0500, IchBin < XXXX@XXXXX.COM > wrote,
quoted or indirectly quoted someone who said :


The big advantage of a Java-based ram-based database is all you need
to do is include the class files in your jar or an aux
jar.  You can use JAWS to ensure all the jars are available, or use an
installer to make sure the jar is on the classpath.

See  http://www.**--****.com/ 
 http://www.**--****.com/ 
-- 
Canadian Mind Products, Roedy Green.
 http://www.**--****.com/  Java custom programming, consulting and coaching.

Re: javaws and hsqldb distribution

Postby IchBin » Wed, 28 Dec 2005 05:34:01 GMT



Thanks Rick and Roedy,

I just remembered that I can keep all of my database related files, as 
you mentioned Roedy, in a jar file. I can also keep the targeted 
database in the same or different jar file.  HSQLDB will let you run 
against a database that is housed in a jar file. This will make my specs 
for JAWS a lot cleaner.

Thanks in Advance...
IchBin, Pocono Lake, Pa, USA 
 http://www.**--****.com/ 
__________________________________________________________________________

'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor,  Regular Guy (1952-)

Re: javaws and hsqldb distribution

Postby Roedy Green » Wed, 28 Dec 2005 06:00:42 GMT

On Mon, 26 Dec 2005 15:34:01 -0500, IchBin < XXXX@XXXXX.COM > wrote,
quoted or indirectly quoted someone who said :

I don't think you want to do that.  Updating a jar file is a very
costly operation. You might zip it up, but then use your installer
class in JAWS to unpack the files and let HSQLDB grab them from there.
-- 
Canadian Mind Products, Roedy Green.
 http://www.**--****.com/  Java custom programming, consulting and coaching.

Re: javaws and hsqldb distribution

Postby IchBin » Wed, 28 Dec 2005 07:39:10 GMT



Thanks Roedy.. For this particular database I will only be accessing it 
  r/o mode. I'll do some benchmarks.

Thanks...
IchBin, Pocono Lake, Pa, USA 
 http://www.**--****.com/ 
__________________________________________________________________________

'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor,  Regular Guy (1952-)

Similar Threads:

1.Java WebStart: How to inform javaws of jre?

Hi,

I've installed JDK1.4.2_02 under WinXP, which includes Java
WebStart. When I try to start javaws by double-clicking, it
complains that no jre is found in the configuration file.

a) such a configuration file does not seem to exist. How is it
supposed to be created? Where does it sit (I looked in the
directory tree for the user settings and the JDK)?

b) Any other way of telling WebStart where the jre sits?

Best Regards,
Sebastian


2.javaws clearing cache via commandline

3.Setting javaws trace file on linux

4.Output from javaws Process

Andrew Thompson wrote:
> I am developing a tool to comprehensively check and
> analyse JWS launch files.  After well-formedness and
> validation, and checking a slew of other aspects of
> the launch files, the last check I want to offer is
> the acid test, the result of a launch.
> 
> Unfortunately, when I attempt* to capture the output
> of a javaws Process started by the app., it returns
> no data at all, and the exit code is always '0'.
> 
> Questions:
> 1) Am I wrong in expecting javaws to return a non-zero
> exit code for a failed launch?  It might be that javaws
> is simply reporting its own status 'yep, I'm just fine -
> you asked me to launch a bogus JNLP - but that does not
> affect javaws at all - bring it on..'.
> 2) Is the lack of output a problem in the code used, or
> is javaws simply not dumping anything useful to the output?
> (Expermiments from the command line suggest the latter,
> but I felt it worth checking).
> 3) Are there any options I missed, to get javaws to be
> more verbose about the launch?
> 4) Are there any better strategies to achieve the feature?
> (A 'management' type API that allows me to access individual
> launch exceptions would be ideal.)  Note:  Neither jdb nor
> jconsole seems to be the answer (as far as I can determine).

10 minutes of experimentation confirmed the problem and
showed no obvious workarounds.

You may need to hack com.sun.javaws.Main to get a usable
return code.

Arne

5.javaws.jar or jnlp.jar?

Hi All,

Which Jar file should I include to compile my JNLP-based application? 
Sun's javaws.jar? Or OpenJNLP's jnlp.jar?

Which is the standard?

Thanks in advance!

Ahmed

6. Javaws.exe

7. Where is javaws.exe??

8. Using browser's proxy-settings from a javaws-app?



Return to JAVA

 

Who is online

Users browsing this forum: No registered users and 6 guest