First question first. No you can't embed Derby into a compiled or distributed CF application, the only way to do this is to have sql scripts that are then run in some manner to build the database. Coldfusion Applications need to be installed into a server, so I am not sure where you are going with that question. But think about it for a minute, and you will realise that what you asked is not possible.
What do you mean by start it in server mode? Coldfusion already has derby as part of its server application, so why would you want to do that? And yes if you create a ColdFusion datasource to the database it will work, but it sounds like you are trying to make things a lot more complicated than you really need to. Also the term embedded is used to distribute with an Application or program, and there will be licensing issues with doing that so you would be best to understand those before continuing with your proposed plan. But as I said why would you want to think that way, when CF already has Derby installed in it? -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Andrew Sent: Thursday, 23 April 2009 3:16 PM To: cfaussie Subject: [cfaussie] Apache Derby & CF7 Hi, As I understand it, CF8 has derby embedded (although as yet I haven't used it). Is it possible to embed a derby database inside a CF7 app? Or alternatively, if I start derby in server mode, and create a JDBC connection to it from CF7, that'll work won't it? I'd try this all out myself but I'm a bit "time poor" at the moment. If anyone has gone through the process and can tell me if it'll work or otherwise, that would be greatly appreciated. Regards, Andrew. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "cfaussie" 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/cfaussie?hl=en -~----------~----~----~----~------~----~------~--~---
