Re: IBATIS DOMAIN NAME UPDATE - DTD WARNING

2005-06-06 Thread netsql

Clinton Begin wrote:


Option 2) Use local filesystem

Every iBATIS JAR file comes with the DTDs.  You can extract the DTDs and 
put them on your local filesystem.  This is a lame approach, but some 
people already do it for performance or other security reasons.  This 
will also stop your DTDs from resolving from the JAR file.






I allways forget why this is not the default.
.V



Re: Cache Objects

2005-05-26 Thread netSQL
There are other bloated and slow DAO's that do this. This works for 
small or simple projects.


iBatiis is fast and simple becuase it caches the results of the querry, 
and thus is more scaleable.

If diferent users want same results, it's cached.

It may initialy seem to somoneone w/ out experience that caching each 
row is faster or better. It's not. Any SQL engine does that better already.


.V


Brandon Goodin wrote:


Not currently and we don't plan on supporting OID (Object Identity).
There is too much baggage that comes along with it.

Brandon

On 5/26/05, Eloyi [EMAIL PROTECTED] wrote:
 


Hi,
I understand that the cache is over the statement, but is possible to cache
the objects that the queryforList returns instead the resultsSets of the
statement??


Thanks

   



 





Re: Vote your favourite iBATIS community member onto the Contributors list

2005-05-11 Thread Vic Cekvenich (netsql)
My vote is for sale!
I prefer silent auction, send me a private email as to an entitlment, or 
 pay pal wire transfers. No donations is to small or to large. I have 
sway w/ many others and we will make you popular, it's almost a 
gurantee. You don't want us to vote the other way. For a little extra, I 
will have you publicly endorsed.

And not just iBatis vote, if you are runing for office, paypal me also. 
If you want a way arround the maximum donations laws, contact me and we 
will set up an of-shore transfer via netsted LLCs - no worries.

:-)
.V


ria w/flash + ibatis ex

2005-05-05 Thread Netsql
I found another link:
http://coenraets.com/viewarticle.jsp?articleId=92
:-[ :-[ :-[
.V


Re: getResultsAsXml

2005-05-02 Thread Netsql
Vic Cekvenich (netsql) wrote:
There was talk and I think saw away to getResultsAsXml.
How/where? Url?
tia,
.V



[Fwd: ibatis qeurryForXml]

2005-05-02 Thread Vic Cekvenich (netsql)

---BeginMessage---
There was talk and I think saw away to getQuerryAsXml.
How/where? Url?
tia,
.V
---End Message---


getResultsAsXml

2005-05-02 Thread Vic Cekvenich (netsql)
There was talk and I think saw away to getResultsAsXml.
How/where? Url?
tia,
.V


Re: getResultsAsXml

2005-05-02 Thread Netsql
And what method? getResulstAs??
And if object, then ... how to convert to something of use? A string?
tia,
.V
Clinton Begin wrote:

Just set the type to xml or dom in the result map.  xml will 
return XML as a String, dom will return a DOM object.

Cheers,
Clinton
On 5/2/05, *Netsql* [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:

Vic Cekvenich (netsql) wrote:
 There was talk and I think saw away to getResultsAsXml.

 How/where? Url?

 tia,
 .V





ibatis qeurryForXml

2005-05-02 Thread Vic Cekvenich (netsql)
There was talk and I think saw away to getQuerryAsXml.
How/where? Url?
tia,
.V


Re: ibatis technology need company references.

2005-04-07 Thread NetSQL
I... sometimes say things I should not. So a company policy is to go by 
handles, in my case netsql.
I do wonder if that is ok?

.V
Brice Ruth wrote:
Vic, can you use an email client that actually puts Vic as your 
name?! Would you like a Gmail account?!
 
Love your contributions, but always frustrated that I can't tell who's 
posting until I see .V ... :)

 



Re: Please Help in arguing for iBatis SqlMaps

2005-04-07 Thread NetSQL
Kaushik Ashodiya wrote:
Hi,
I have hard time arguing for iBatis SqlMaps (not because something 
wrong with SqlMaps).

Please give me more reasons so that I can convince them.
Their argument:
1. For small project SqlMap is adding unnecessary complexity.
2. Why learn one more tool when you have a simple base data access 
object that gives you connection, prepared statement and a result and 
does cleanup? (only when extended class calls cleanup() !!!)
3. Generally open source projects dies shortly and does not have support.
4. Adding many jars of those open source projects make out project 
more complex and un-maintainable.
5. What if SqlMaps goes out of market? It is fairly new and not hardened.
 


my-peers-arguments
Again to re-iterate a point I was trying to make yesterday, 
architecturally speaking you should always try and keep it simple (not 
on an individual application level) but as far as possible on an 
enterprise level.  I'm going to ask you the same question that I asked 
yesterday...what do you think are the advantages/disadvantages of O/R 
mappings for relatively small applications where persistance is not 
the deciding criteria (or for that matter not even a criteria)?(I've 
attached yesterdays email thread for Kevin since he didn't get that 
one :))
 
I'll list the disadvantages:
1) You add multiple third party jars (open source or otherwise), which 
you need to be aware of when building new apps.

Re-use of working thing... vs writing your own bugs and documenting.
These include components which the vendor will eventually provide if 
the market demand is high...
2)You add multiple configurations for each of those products, which 
you need to understand on how to tune in case there are performance 
issues.

If you don't need cache, don't use it. Else set # of minutes.
3) Most of these components seem to be build on the current versions 
of jdk which take a decent time to hit mainstream commercial product 
support.

?? vs what?
4) If these products are not built to a spec (even though they may end 
up driving a spec), the migration process becomes an added overhead.  
Even when they do become a part of the spec, the implementation 
differences of the vendor of choice may be so different that you 
pretty much waste any advantage of early adoption.  If you are a 
vendor of a product, an effective early adoption can translate into 
you either being bought out by the bigger established vendor or you 
getting to be a key player in that spacebut we don't fall in that 
category.

Yeah, JST # 123 vs Apache. Which is more standard?
5)You need to be able to train existing resources to use the product 
(unless there is a plan to let go people and get new fresh resources 
who may have had experience with the adopted product).  Now if the 
existing resources themselves have a discomfort moving over to an 
object oriented paradigm, putting up them up against the challenges of 
going thru the learning curve of extra products further lowers the 
probability of success.
Maybe good docs would help. And make it stnadarad ANSI SQL.
6) You increase the possibility of chaos and reduce flexibility of 
resource utilization.
 
Besides the six points above, I would not recommend use of products 
like iBatis in applications at UCOP is because in my opinion the 
applications that we do or have done are relatively small and O/R 
mapping for those kinds of apps is probably an overkill (again 
personal opinion.)

Maybe better to avoid hevy O/R.
To some level Hibernate is a valid candidate for evaluation (taking 
into account that it is driving the EJB spec). But again, my business 
acumen says that IBM will definitely take care of that.  
IBM does have a J2EE reputation. Like it's the worst.
 
Now my perpective looking at the example below, one of the key 
shortcommings that I see is it couples the Display/View with the 
model (Data Access) Basically what this means is that if you 
wanted to create the same object tomorrow from not a non 
database/jndi source, you would be re-writing the logic for creating 
the same object.  Another disadantage that I mentioned yesterday was 
if your display object gets created from multiple datasources (one 
db2, one sybase) transaction management becomes an issue  How 
would you use iBatis in a system which does not need persistanc but 
needs transaction management?
 
Isn't the whole idea of going with some big commercial vendor like IBM 
to consolidate your infrastructure source so that you dont knock on 
different doors? Often such a vendor is selected based on how many 
services required by a business are provided by the vendor. Nothing 
against Hibernate or iBatis.  I'm sure they are great at what they are 
designed to do.  But each one of them doesn;t do all that we probably 
need  (they still  need an underlying EJB container.)

Hibreante and iBatis don't.
If thats the case, why would you want to introduce the additional 
learning curve and the additional layer 

Re: ibatis technology need company references.

2005-04-06 Thread NetSQL
1up.com is using iBatis 2 and has 10 million members and 10,000 
concurent users.
My new project is larger.
.V

Victor Stepanov wrote:
Brandon Goodin wrote:
I can vouch that we use iBatis internally at Plum Creek Timber
Company, Inc. But, i can't give you links or anything.
Brandon
On Apr 6, 2005 9:55 AM, Victor Stepanov [EMAIL PROTECTED] wrote:
 

Hi All.
I need to provide references about ibatis and sqlmaps that this product
is stable can anybody give some references or where I can found it.
Thanks.
  

I can describe sitution we write one tender where describe that we use 
IBatis but we've got claim that IBatis in Apche Incubator and not 
stable for goverment sector development . For me will be good get some 
links or may be some documents 




Re: OT: Tomcat debugging with Eclipse (Was Re: JDBCRealm using iBATIS?)

2005-04-06 Thread NetSQL
XML Buddy is all you need.
.V
Brandon Goodin wrote:
My Eclipse rocks!!! But, if you have Intellij I can't imagine that
they wouldn't have that ability.
Brandon