Re: So, Google uses Tomcat and Apache SOAP...

2002-04-21 Thread Santiago Gala

Paulo Gaspar wrote:

>http://www.beblogging.com/blog/20020417-221452
>
>Have fun,
>Paulo Gaspar
>
This is all your spamming? I see better and much longer every day :-)




--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Subproject Proposal - crossdb

2002-04-21 Thread travis

Hi,

I would like to propose a new subproject for Jakarta and I will give some details 
below.

The project is called crossdb and can be found at www.crossdb.com.

What is it?
crossdb is a Java API that is used to create SQL statements that are database 
independent.  So you can write an application and have it run the exact same on any 
database (ie: MySQL, Oracle, MS SQL Server, etc.)

The current release is ready for download and ready to use on several databases.

We currently have 3 developers that work on it.  I would like to have more people 
working on it to get more input and expertise into the different database 
implementations and I think the Jakarta project is the perfect place for this.  I 
think the Jakarta project is absolutely terrific (and the Apache Foundation) as I try 
to use anything I can from Apache and it's projects.  

Basically, the value of this API is that you can save tons of time and effort changing 
code or learning the different SQL syntax.  Now you can just use the crossdb API to 
write it once, run it anywhere (ie: on any database).

Anyways, please let me know if you think this would be a valuable subproject for 
Jakarta.  Thanks.

Travis Reeder
Chief Software Architect
www.ThinkVirtual.com


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Subproject Proposal - crossdb

2002-04-21 Thread Andrew C. Oliver

Out of morbid curiosity... I couldn't find this answered on the
website...  How is this different then hsql (hsqldb.sourceforge.net) and
why would I want to use it as opposed to hsql?


On Sun, 2002-04-21 at 21:10, [EMAIL PROTECTED] wrote:
> Hi,
> 
> I would like to propose a new subproject for Jakarta and I will give some details 
>below.
> 
> The project is called crossdb and can be found at www.crossdb.com.
> 
> What is it?
> crossdb is a Java API that is used to create SQL statements that are database 
>independent.  So you can write an application and have it run the exact same on any 
>database (ie: MySQL, Oracle, MS SQL Server, etc.)
> 
> The current release is ready for download and ready to use on several databases.
> 
> We currently have 3 developers that work on it.  I would like to have more people 
>working on it to get more input and expertise into the different database 
>implementations and I think the Jakarta project is the perfect place for this.  I 
>think the Jakarta project is absolutely terrific (and the Apache Foundation) as I try 
>to use anything I can from Apache and it's projects.  
> 
> Basically, the value of this API is that you can save tons of time and effort 
>changing code or learning the different SQL syntax.  Now you can just use the crossdb 
>API to write it once, run it anywhere (ie: on any database).
> 
> Anyways, please let me know if you think this would be a valuable subproject for 
>Jakarta.  Thanks.
> 
> Travis Reeder
> Chief Software Architect
> www.ThinkVirtual.com
> 
> 
> --
> To unsubscribe, e-mail:   
> For additional commands, e-mail: 
> 
-- 
http://www.superlinksoftware.com
http://jakarta.apache.org/poi - port of Excel/Word/OLE 2 Compound
Document 
format to java
http://developer.java.sun.com/developer/bugParade/bugs/4487555.html 
- fix java generics!
The avalanche has already started. It is too late for the pebbles to
vote.
-Ambassador Kosh


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Subproject Proposal - crossdb

2002-04-21 Thread Tim Vernum

From: Andrew C. Oliver [mailto:[EMAIL PROTECTED]]

> On Sun, 2002-04-21 at 21:10, [EMAIL PROTECTED] wrote:

> > The project is called crossdb and can be found at www.crossdb.com.
> > 
> > What is it?
> > crossdb is a Java API that is used to create SQL statements 
> that are database independent.  So you can write an 
> application and have it run the exact same on any database 
> (ie: MySQL, Oracle, MS SQL Server, etc.)

> Out of morbid curiosity... I couldn't find this answered on the
> website...  How is this different then hsql 
> (hsqldb.sourceforge.net) and
> why would I want to use it as opposed to hsql?

I have nothing to do with either project, but hsql *is* a database.
crossdb is a database API

Your question is somewhat akin to "what's the difference between
jdbc and oracle?" 

To the original poster (Travis), if you haven't already done so,
you should read 
http://jakarta.apache.org/site/newproject.html
and formulate your proposal to cover all the issues dicussed there.






NOTICE
This e-mail and any attachments are confidential and may contain copyright material of 
Macquarie Bank or third parties. If you are not the intended recipient of this email 
you should not read, print, re-transmit, store or act in reliance on this e-mail or 
any attachments, and should destroy all copies of them. Macquarie Bank does not 
guarantee the integrity of any emails or any attached files. The views or opinions 
expressed are the author's own and may not reflect the views or opinions of Macquarie 
Bank. 


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Subproject Proposal - crossdb

2002-04-21 Thread Jon Scott Stevens

If anything, crossdb is something that is a few generations behind Torque in
terms of functionality and design.

http://jakarta.apache.org/turbine/torque/

Funny how all the rage recently seems to be creating these OR tools.

-jon

on 4/21/02 7:29 PM, "Tim Vernum" <[EMAIL PROTECTED]> wrote:

> From: Andrew C. Oliver [mailto:[EMAIL PROTECTED]]
> 
>> On Sun, 2002-04-21 at 21:10, [EMAIL PROTECTED] wrote:
> 
>>> The project is called crossdb and can be found at www.crossdb.com.
>>> 
>>> What is it?
>>> crossdb is a Java API that is used to create SQL statements
>> that are database independent.  So you can write an
>> application and have it run the exact same on any database
>> (ie: MySQL, Oracle, MS SQL Server, etc.)
> 
>> Out of morbid curiosity... I couldn't find this answered on the
>> website...  How is this different then hsql
>> (hsqldb.sourceforge.net) and
>> why would I want to use it as opposed to hsql?
> 
> I have nothing to do with either project, but hsql *is* a database.
> crossdb is a database API
> 
> Your question is somewhat akin to "what's the difference between
> jdbc and oracle?"
> 
> To the original poster (Travis), if you haven't already done so,
> you should read 
> http://jakarta.apache.org/site/newproject.html
> and formulate your proposal to cover all the issues dicussed there.

-- 
Nixon: "At least with liquor, I don't lose motivation."



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Re: Subproject Proposal - crossdb

2002-04-21 Thread travis

Actually Jon,

Torque and crossdb are quite a bit different.  Torque is pre generated and requires 
some preliminary setup and doesn't deal with SQL statements directly.  Whereas crossdb 
is on the fly and is an object oriented way of creating SQL statements that are 
database independent.

Torque row insert example after generation (taken from tutorial):

Publisher addison = new Publisher();
  addison.setName("Addison Wesley Professional");  
  addison.save();

  Author bloch = new Author();
  bloch.setFirstName("Joshua");
  bloch.setLastName("Bloch");
  bloch.save();

crossdb row insert example:

InsertQuery iq = factory.getInsertQuery();
iq.setTable("Employees");
iq.addAutoIncrementColumn("emp_id");
iq.addColumn("emp_name", "Travis Reeder");
iq.addColumn("emp_department", "Development");
iq.execute(conn);

Quite a bit different don't you think?  

Tim: I did read that page and thought I covered the more important points. Is there a 
formal way of doing these proposals? 

Travis

 Original Message 
From: Jon Scott Stevens <[EMAIL PROTECTED]>
Sent: 2002-04-21
To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
Subject: Re: Subproject Proposal - crossdb

If anything, crossdb is something that is a few generations behind Torque in
terms of functionality and design.

http://jakarta.apache.org/turbine/torque/

Funny how all the rage recently seems to be creating these OR tools.

-jon

on 4/21/02 7:29 PM, "Tim Vernum" <[EMAIL PROTECTED]> wrote:

> From: Andrew C. Oliver [mailto:[EMAIL PROTECTED]]
> 
>> On Sun, 2002-04-21 at 21:10, [EMAIL PROTECTED] wrote:
> 
>>> The project is called crossdb and can be found at www.crossdb.com.
>>> 
>>> What is it?
>>> crossdb is a Java API that is used to create SQL statements
>> that are database independent.  So you can write an
>> application and have it run the exact same on any database
>> (ie: MySQL, Oracle, MS SQL Server, etc.)
> 
>> Out of morbid curiosity... I couldn't find this answered on the
>> website...  How is this different then hsql
>> (hsqldb.sourceforge.net) and
>> why would I want to use it as opposed to hsql?
> 
> I have nothing to do with either project, but hsql *is* a database.
> crossdb is a database API
> 
> Your question is somewhat akin to "what's the difference between
> jdbc and oracle?"
> 
> To the original poster (Travis), if you haven't already done so,
> you should read 
> http://jakarta.apache.org/site/newproject.html
> and formulate your proposal to cover all the issues dicussed there.

-- 
Nixon: "At least with liquor, I don't lose motivation."



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Re: Subproject Proposal - crossdb

2002-04-21 Thread dion

[EMAIL PROTECTED] wrote on 22/04/2002 03:59:43 PM:

> Actually Jon,
> 
> Torque and crossdb are quite a bit different.  Torque is pre 
> generated and requires some preliminary setup and doesn't deal with 
> SQL statements directly.  Whereas crossdb is on the fly and is an 
> object oriented way of creating SQL statements that are database 
independent.
> 
> Torque row insert example after generation (taken from tutorial):
> 
> Publisher addison = new Publisher();
>   addison.setName("Addison Wesley Professional"); 
>   addison.save();
> 
>   Author bloch = new Author();
>   bloch.setFirstName("Joshua");
>   bloch.setLastName("Bloch");
>   bloch.save();
> 
> crossdb row insert example:
> 
> InsertQuery iq = factory.getInsertQuery();
> iq.setTable("Employees");
> iq.addAutoIncrementColumn("emp_id");

And for databases without an auto-increment feature??

> iq.addColumn("emp_name", "Travis Reeder");
> iq.addColumn("emp_department", "Development");
> iq.execute(conn);
> 
> Quite a bit different don't you think? 
> 
> Tim: I did read that page and thought I covered the more important 
> points. Is there a formal way of doing these proposals? 
> 
> Travis
[snip]
--
dIon Gillard, Multitask Consulting
Work:  http://www.multitask.com.au
Developers: http://adslgateway.multitask.com.au/developers


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Subproject Proposal - crossdb

2002-04-21 Thread Jon Scott Stevens

I never said they were the same. I said that crossdb is a few generations
behind Torque in design and thinking.

Torque's code generation is the way to go in terms of OR tools. Anything
else, IMHO, is backwards.

You also left out all the code related to getting the 'conn' object. Torque
abstracts all that away so it isn't necessary at all.

Another problem with crossdb design is that you are defining all of the
database logic within the code instead of abstracting it elsewhere. It is
like coding HTML in ECS. What happens when you want to change the emp_id
column definition? You are also hard coding a lot of strings in your code.
What happens when you want to rename a column? At least with Torque it is
static generated strings.

What you should ask yourself is:

What is the benefit of using crossdb over Torque?

-jon


on 4/21/02 10:59 PM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:

> Actually Jon,
> 
> Torque and crossdb are quite a bit different.  Torque is pre generated and
> requires some preliminary setup and doesn't deal with SQL statements directly.
> Whereas crossdb is on the fly and is an object oriented way of creating SQL
> statements that are database independent.
> 
> Torque row insert example after generation (taken from tutorial):
> 
> Publisher addison = new Publisher();
> addison.setName("Addison Wesley Professional");
> addison.save();
> 
> Author bloch = new Author();
> bloch.setFirstName("Joshua");
> bloch.setLastName("Bloch");
> bloch.save();
> 
> crossdb row insert example:
> 
> InsertQuery iq = factory.getInsertQuery();
> iq.setTable("Employees");
> iq.addAutoIncrementColumn("emp_id");
> iq.addColumn("emp_name", "Travis Reeder");
> iq.addColumn("emp_department", "Development");
> iq.execute(conn);
> 
> Quite a bit different don't you think?
> 
> Tim: I did read that page and thought I covered the more important points. Is
> there a formal way of doing these proposals?
> 
> Travis

-- 
Nixon: "At least with liquor, I don't lose motivation."



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Subproject Proposal - crossdb

2002-04-21 Thread Jon Scott Stevens

on 4/21/02 11:38 PM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:

>> iq.addAutoIncrementColumn("emp_id");
> 
> And for databases without an auto-increment feature??

FYI, Torque looks at what database driver you are using an will generate the
right SQL/process to emulate auto-increment (assuming your database supports
that...for example, MySQL will generate auto-increment columns...oracle will
generate sequences).

Torque also has a built-in IDBroker (based on Scott Ambler's design ideas)
which you can use instead of auto-increment. This can actually outperform
auto-increment and is 100% cross database compatible.

-jon

-- 
Nixon: "At least with liquor, I don't lose motivation."


--
To unsubscribe, e-mail:   
For additional commands, e-mail: