What about embedding H2 in your own Java web app, and writing some
appropriate methods in your web app that your Javascript can call via DWR?

http://directwebremoting.org/dwr/index.html

Cheers
Kerry

On Sat, Aug 7, 2010 at 1:42 AM, Andreas Henningsson <
[email protected]> wrote:

> Yes some kind of XML Service between my java appliation and the Widget
> would work. But as this
> is a very basic application I don't want to set ut the required servera.
> But seems like it is possible to
> use the command shell from javascript in OS X. Maybe I just add a shell
> interface to my application
> that the Widget can use. But Extracting data from the database is another
> story I guess.
>
> /Andreas
>
>
> On Fri, Aug 6, 2010 at 12:03 PM, Thomas Mueller <
> [email protected]> wrote:
>
>> Hi,
>>
>> I don't know a way, but if you find out please let us know! It sounds
>> like something lika a web application (with server part) is needed.
>>
>> Regards,
>> Thomas
>>
>> On Thursday, August 5, 2010, Andreas Henningsson
>> <[email protected]> wrote:
>> > Hi
>> >
>> > I am doing a Mac OS X widget.
>> >
>> > Somehow I want this Widget to be able to access data in a H2 database.
>> > I want to be able to get data from
>> > the database and also insert new data to the database. A widget in OS
>> > X is written in html and javascript.
>> > What is the best option to get this to work?
>> >
>> > /Andreas
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> Groups "H2 Database" group.
>> > To post to this group, send email to [email protected].
>> > To unsubscribe from this group, send email to
>> [email protected]<h2-database%[email protected]>
>> .
>> > For more options, visit this group at
>> http://groups.google.com/group/h2-database?hl=en.
>> >
>> >
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "H2 Database" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected]<h2-database%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/h2-database?hl=en.
>>
>>
>
>
> --
> Andreas Henningsson
>
> "Vanligt sunt förnuft är inte särkilt vanligt." -- Voltaire
>
> --
> You received this message because you are subscribed to the Google Groups
> "H2 Database" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<h2-database%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/h2-database?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/h2-database?hl=en.

Reply via email to