[prev in list] [next in list] [prev in thread] [next in thread] 

List:       odtug-java-l
Subject:    Re: How to handle concurrent access on data in Web Application
From:       Sten Vesterli <sten () vesterli ! com>
Date:       2008-12-18 6:40:38
Message-ID: F001.00618836.20081217224038 () fatcity ! com
[Download RAW message or body]

Mapping to an existing (legacy) database is supposedly one of  
Toplink's strong points.

Cheers

Sten Vesterli


On 17/12/2008, at 19.00, Erdal Taner wrote:

> John, would you mind sharing more about your experience with  
> Hibernate ?
> Would Hibernate be a good option if you can’t to make changes to  
> your legacy database ? I have read discouraging articles about using  
> Hibernate against a legacy database; because you end up spending too  
> much time to map objects to your existing database.
>
>
>
> From: ml-errors@fatcity.com [mailto:ml-errors@fatcity.com] On Behalf  
> Of John Flack
> Sent: Wednesday, December 17, 2008 7:05 AM
> To: Multiple recipients of list ODTUG-JAVA-L
> Subject: RE: How to handle concurrent access on data in Web  
> Application
>
> Toplink and Hibernate are open source.  ADF BC is free to those who  
> use JDeveloper (also free) and Oracle Application Server (not free,  
> but you may be using this already).  WHAT is the problem?  Not  
> Invented Here Syndrome?
>
> Let me make this perfectly clear:  MAKE IT AN OPTION.  DON’T try to  
> write it yourself.  Tell the powers that be that it will take months  
> of unnecessary effort, plus months of painful debugging.  Some of  
> the bugs won’t show up until you have lots of concurrent users  
> pounding on it at the same time, and when the bugs show, they will  
> be BAD – lost data, damaged database.  Even when it is debugged, you  
> wrote it, YOU will maintain it.
>
> From: ml-errors@fatcity.com [mailto:ml-errors@fatcity.com] On Behalf  
> Of VJaen
> Sent: Wednesday, December 17, 2008 8:21 AM
> To: Multiple recipients of list ODTUG-JAVA-L
> Subject: RE: How to handle concurrent access on data in Web  
> Application
>
> Unfortunately using these frameworks is not an option for us this  
> time.
>
>
>
> From: ml-errors@fatcity.com [mailto:ml-errors@fatcity.com] On Behalf  
> Of John Flack
> Sent: Wednesday, December 17, 2008 8:01 AM
> To: Multiple recipients of list ODTUG-JAVA-L
> Subject: RE: How to handle concurrent access on data in Web  
> Application
> All I can say is don’t try to write this yourself, doing it right is  
> MUCH harder than you think.  Instead, use a good database access  
> framework like ADF Business Components, Toplink, or Hibernate.    
> Very brilliant people have worked hard to make these RIGHT, and to  
> debug them when they were wrong.  And with lots of people using them  
> for many kinds of applications, most of the bugs have been found and  
> quashed.   I’m not saying that ALL the bugs are gone, but it’s  
> better than you’ll do on your own.
>
> From: ml-errors@fatcity.com [mailto:ml-errors@fatcity.com] On Behalf  
> Of VJaen
> Sent: Tuesday, December 16, 2008 5:21 PM
> To: Multiple recipients of list ODTUG-JAVA-L
> Subject: How to handle concurrent access on data in Web Application
>
> Hello gurus,
>
> I remember some time ago people was talking about How to handle  
> concurrent access on data in Web Application, but I couldn't fine  
> that thread.
>
> Could you gave me your suggestions on this topic or point me to  
> useful information?
>
> TIA
> Victor.
>
>


[Attachment #3 (text/html)]

<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; \
-webkit-line-break: after-white-space; ">Mapping to an existing (legacy) database is \
supposedly one of Toplink's strong points.<div><br><div apple-content-edited="true"> \
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); \
font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; \
font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; \
text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; \
widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; \
-webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; \
-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div \
style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: \
after-white-space; "><div><div>Cheers</div><div><br></div><div>Sten \
Vesterli</div><div><br></div></div></div></span> </div><br><div><div>On 17/12/2008, \
at 19.00, Erdal Taner wrote:</div><br class="Apple-interchange-newline"><blockquote \
type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: \
rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; \
font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: \
normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; \
white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: \
0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; \
-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div lang="EN-US" \
link="blue" vlink="purple"><div class="Section1"><div style="margin-top: 0in; \
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; \
font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: \
Calibri, sans-serif; color: rgb(31, 73, 125); ">John, would you mind sharing more \
about your experience with Hibernate ?<o:p></o:p></span></div><div style="margin-top: \
0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; \
font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: \
Calibri, sans-serif; color: rgb(31, 73, 125); ">Would Hibernate be a good option if \
you can’t to make changes to your legacy database ? I have read discouraging articles \
about using Hibernate against a legacy database; because you end up spending too much \
time to map objects to your existing database.<o:p></o:p></span></div><div \
style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; \
font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: \
11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); \
"><o:p>&nbsp;</o:p></span></div><div style="margin-top: 0in; margin-right: 0in; \
margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New \
Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; \
color: rgb(31, 73, 125); "><o:p>&nbsp;</o:p></span></div><div style="margin-top: 0in; \
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; \
font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: \
Calibri, sans-serif; color: rgb(31, 73, 125); \
"><o:p>&nbsp;</o:p></span></div><div><div style="border-right-style: none; \
border-bottom-style: none; border-left-style: none; border-width: initial; \
border-color: initial; border-top-style: solid; border-top-color: rgb(181, 196, 223); \
border-top-width: 1pt; padding-top: 3pt; padding-right: 0in; padding-bottom: 0in; \
padding-left: 0in; "><div style="margin-top: 0in; margin-right: 0in; margin-left: \
0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; \
"><b><span style="font-size: 10pt; font-family: Tahoma, sans-serif; \
">From:</span></b><span style="font-size: 10pt; font-family: Tahoma, sans-serif; \
"><span class="Apple-converted-space">&nbsp;</span><a \
href="mailto:ml-errors@fatcity.com" style="color: blue; text-decoration: underline; \
">ml-errors@fatcity.com</a><span class="Apple-converted-space">&nbsp;</span>[<a \
href="mailto:ml-errors@fatcity.com" style="color: blue; text-decoration: underline; \
">mailto:ml-errors@fatcity.com</a>]<span \
class="Apple-converted-space">&nbsp;</span><b>On Behalf Of<span \
class="Apple-converted-space">&nbsp;</span></b>John Flack<br><b>Sent:</b><span \
class="Apple-converted-space">&nbsp;</span>Wednesday, December 17, 2008 7:05 \
AM<br><b>To:</b><span class="Apple-converted-space">&nbsp;</span>Multiple recipients \
of list ODTUG-JAVA-L<br><b>Subject:</b><span \
class="Apple-converted-space">&nbsp;</span>RE: How to handle concurrent access on \
data in Web Application<o:p></o:p></span></div></div></div><div style="margin-top: \
0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; \
font-family: 'Times New Roman', serif; "><o:p>&nbsp;</o:p></div><div \
style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; \
font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: \
11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125); ">Toplink and \
Hibernate are open source.&nbsp; ADF BC is free to those who use JDeveloper (also \
free) and Oracle Application Server (not free, but you may be using this \
already).&nbsp; WHAT is the problem?&nbsp; Not Invented Here \
Syndrome?<o:p></o:p></span></div><div style="margin-top: 0in; margin-right: 0in; \
margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New \
Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; \
color: rgb(31, 73, 125); "><o:p>&nbsp;</o:p></span></div><div style="margin-top: 0in; \
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; \
font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: \
Calibri, sans-serif; color: rgb(31, 73, 125); ">Let me make this perfectly \
clear:&nbsp;<span class="Apple-converted-space">&nbsp;</span><u>MAKE</u><span \
class="Apple-converted-space">&nbsp;</span>IT AN OPTION.&nbsp; DON’T try to write it \
yourself.&nbsp; Tell the powers that be that it will take months of unnecessary \
effort, plus months of painful debugging.&nbsp; Some of the bugs won’t show up until \
you have lots of concurrent users pounding on it at the same time, and when the bugs \
show, they will be BAD – lost data, damaged database.&nbsp; Even when it is debugged, \
you wrote it, YOU will maintain it.<o:p></o:p></span></div><div style="margin-top: \
0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; \
font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: \
Calibri, sans-serif; color: rgb(31, 73, 125); \
"><o:p>&nbsp;</o:p></span></div><div><div style="border-right-style: none; \
border-bottom-style: none; border-left-style: none; border-width: initial; \
border-color: initial; border-top-style: solid; border-top-color: rgb(181, 196, 223); \
border-top-width: 1pt; padding-top: 3pt; padding-right: 0in; padding-bottom: 0in; \
padding-left: 0in; "><div style="margin-top: 0in; margin-right: 0in; margin-left: \
0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; \
"><b><span style="font-size: 10pt; font-family: Tahoma, sans-serif; \
">From:</span></b><span style="font-size: 10pt; font-family: Tahoma, sans-serif; \
"><span class="Apple-converted-space">&nbsp;</span><a \
href="mailto:ml-errors@fatcity.com" style="color: blue; text-decoration: underline; \
">ml-errors@fatcity.com</a><span class="Apple-converted-space">&nbsp;</span>[<a \
href="mailto:ml-errors@fatcity.com" style="color: blue; text-decoration: underline; \
">mailto:ml-errors@fatcity.com</a>]<span \
class="Apple-converted-space">&nbsp;</span><b>On Behalf Of<span \
class="Apple-converted-space">&nbsp;</span></b>VJaen<br><b>Sent:</b><span \
class="Apple-converted-space">&nbsp;</span>Wednesday, December 17, 2008 8:21 \
AM<br><b>To:</b><span class="Apple-converted-space">&nbsp;</span>Multiple recipients \
of list ODTUG-JAVA-L<br><b>Subject:</b><span \
class="Apple-converted-space">&nbsp;</span>RE: How to handle concurrent access on \
data in Web Application<o:p></o:p></span></div></div></div><div style="margin-top: \
0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; \
font-family: 'Times New Roman', serif; "><o:p>&nbsp;</o:p></div><div \
style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; \
font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: \
10pt; font-family: Arial, sans-serif; color: blue; ">Unfortunately using these \
frameworks is not an option for us this time.</span><o:p></o:p></div><div \
style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; \
font-size: 12pt; font-family: 'Times New Roman', serif; \
">&nbsp;<o:p></o:p></div><div><div style="margin-top: 0in; margin-right: 0in; \
margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New \
Roman', serif; ">&nbsp;<o:p></o:p></div></div><div><div style="margin-top: 0in; \
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; \
font-family: 'Times New Roman', serif; "><o:p>&nbsp;</o:p></div></div><div \
class="MsoNormal" align="center" style="text-align: center; margin-top: 0in; \
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; \
font-family: 'Times New Roman', serif; "><hr size="2" width="100%" \
align="center"></div><div style="margin-top: 0in; margin-right: 0in; margin-left: \
0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif; \
"><b><span style="font-size: 10pt; font-family: Tahoma, sans-serif; \
">From:</span></b><span style="font-size: 10pt; font-family: Tahoma, sans-serif; \
"><span class="Apple-converted-space">&nbsp;</span><a \
href="mailto:ml-errors@fatcity.com" style="color: blue; text-decoration: underline; \
">ml-errors@fatcity.com</a><span class="Apple-converted-space">&nbsp;</span>[<a \
href="mailto:ml-errors@fatcity.com" style="color: blue; text-decoration: underline; \
">mailto:ml-errors@fatcity.com</a>]<span \
class="Apple-converted-space">&nbsp;</span><b>On Behalf Of<span \
class="Apple-converted-space">&nbsp;</span></b>John Flack<br><b>Sent:</b><span \
class="Apple-converted-space">&nbsp;</span>Wednesday, December 17, 2008 8:01 \
AM<br><b>To:</b><span class="Apple-converted-space">&nbsp;</span>Multiple recipients \
of list ODTUG-JAVA-L<br><b>Subject:</b><span \
class="Apple-converted-space">&nbsp;</span>RE: How to handle concurrent access on \
data in Web Application</span><o:p></o:p></div><div style="margin-top: 0in; \
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; \
font-family: 'Times New Roman', serif; "><span style="font-size: 11pt; font-family: \
Calibri, sans-serif; color: rgb(31, 73, 125); ">All I can say is don’t try to write \
this yourself, doing it right is MUCH harder than you think.&nbsp; Instead, use a \
good database access framework like ADF Business Components, Toplink, or \
Hibernate.&nbsp;&nbsp; Very brilliant people have worked hard to make these RIGHT, \
and to debug them when they were wrong.&nbsp; And with lots of people using them for \
many kinds of applications, most of the bugs have been found and quashed.&nbsp;&nbsp; \
I’m not saying that ALL the bugs are gone, but it’s better than you’ll do on your \
own.<o:p></o:p></span></div><div style="margin-top: 0in; margin-right: 0in; \
margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New \
Roman', serif; "><span style="font-size: 11pt; font-family: Calibri, sans-serif; \
color: rgb(31, 73, 125); "><o:p>&nbsp;</o:p></span></div><div><div \
style="border-right-style: none; border-bottom-style: none; border-left-style: none; \
border-width: initial; border-color: initial; border-top-style: solid; \
border-top-color: rgb(181, 196, 223); border-top-width: 1pt; padding-top: 3pt; \
padding-right: 0in; padding-bottom: 0in; padding-left: 0in; "><div style="margin-top: \
0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; \
font-family: 'Times New Roman', serif; "><b><span style="font-size: 10pt; \
font-family: Tahoma, sans-serif; ">From:</span></b><span style="font-size: 10pt; \
font-family: Tahoma, sans-serif; "><span \
class="Apple-converted-space">&nbsp;</span><a href="mailto:ml-errors@fatcity.com" \
style="color: blue; text-decoration: underline; ">ml-errors@fatcity.com</a><span \
class="Apple-converted-space">&nbsp;</span>[<a href="mailto:ml-errors@fatcity.com" \
style="color: blue; text-decoration: underline; \
">mailto:ml-errors@fatcity.com</a>]<span \
class="Apple-converted-space">&nbsp;</span><b>On Behalf Of<span \
class="Apple-converted-space">&nbsp;</span></b>VJaen<br><b>Sent:</b><span \
class="Apple-converted-space">&nbsp;</span>Tuesday, December 16, 2008 5:21 \
PM<br><b>To:</b><span class="Apple-converted-space">&nbsp;</span>Multiple recipients \
of list ODTUG-JAVA-L<br><b>Subject:</b><span \
class="Apple-converted-space">&nbsp;</span>How to handle concurrent access on data in \
Web Application<o:p></o:p></span></div></div></div><div style="margin-top: 0in; \
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; \
font-family: 'Times New Roman', serif; "><o:p>&nbsp;</o:p></div><p \
style="margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New \
Roman', serif; "><span style="font-size: 10pt; font-family: Arial, sans-serif; \
">Hello gurus,</span><o:p></o:p></p><p style="margin-right: 0in; margin-left: 0in; \
font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: \
10pt; font-family: Arial, sans-serif; ">I remember some time ago people was talking \
about How to handle concurrent access on data in Web Application, but I couldn't fine \
that thread.</span><o:p></o:p></p><p style="margin-right: 0in; margin-left: 0in; \
font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: \
10pt; font-family: Arial, sans-serif; ">Could you gave me your suggestions on this \
topic or point me to useful information?</span><o:p></o:p></p><p style="margin-right: \
0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; \
"><span style="font-size: 10pt; font-family: Arial, sans-serif; ">TIA</span><span \
class="Apple-converted-space">&nbsp;</span><br><span style="font-size: 10pt; \
font-family: Arial, sans-serif; ">Victor.</span><o:p></o:p></p><div \
style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; \
font-size: 12pt; font-family: 'Times New Roman', serif; \
"><o:p>&nbsp;</o:p></div></div></div></span></blockquote></div><br></div></body></html>



-- 
For more information on this topic or to become a member, visit our Web site at http://www.ODTUG.com  

Join us at ODTUG Kaleidoscope 2009, June 21 - 25, Monterey, California
Visit www.odtugkaleidoscope.com for more details.



-- 
Author: Sten Vesterli
  INET: sten@vesterli.com

Fat City Hosting, San Diego, California -- http://www.fatcity.com
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru@fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ODTUG-JAVA-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic