Hi Thomas,

> Yes, using WebServlet. It is not documented at the moment, I will do
> that in the next release.

Thanks! Works great.

> > Also, i'd like to embed the web console in our web application, so we
> > can frame it with the styles of our web design.
> You will probably have to overwrite the stylesheet.

Could not embed the H2 Console, as there's JavaScript code which
checks for top window and redirects. So I could not even embed it
using <iframe>. Now, i'm using an external popup window.

> > - How to start up H2 Server within a Spring Application Context, or should 
> > we use DbStarter in web.xml?
> I'm sure you can start the H2 Server from Spring, but I don't know
> Spring well enough...

Works fine with the following:

   <bean id="org.h2.tools.Server"
   class="org.h2.tools.Server"
   factory-method="createTcpServer"
   init-method="start"
   destroy-method="stop">
      <constructor-arg value="-tcp,-tcpAllowOthers,true,-tcpPort,
8043" />
   </bean>

"destroy-method" is important to prevent Exceptions when hot-
redeployment or restarting server.


> Regards,
> Thomas

regards
Mike
--~--~---------~--~----~------------~-------~--~----~
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