Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java Programmer > Re: Storing dat...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 29 Topic 54825 of 55345
Post > Topic >>

Re: Storing data periodically on remote server

by =?UTF-8?B?QXJuZSBWYWpow7hq?= <arne@[EMAIL PROTECTED] > Oct 9, 2008 at 10:29 PM

Lew wrote:
> Peter D. wrote:
>> I don't know if connecting to the DB directly is a good idea. I would
>> recommend creating a web service to accept the data instead. The
>> client will connect to the web service and send the info. The server
>> side web service will then connect to the DB and do what it needs to
>> do.
>>
>> With a web service you can even give your clients the option of coding
>> their own solutions with any language. Also, it gives you free reign
>> on your DB server since the web service will abstract it from the
>> users. If you want to change DBMS you just need to modify the web
>> service and not every single client.
>>
>> I think providing a standard web service interface is the way to go.
> 
> I started reading this dubiously, but came around as I pondered.

> There definitely is a learning curve, although Axis at least tries to 
> make the entry barrier quite low.  The benefit of thinking of your 
> system as a group of services is incalculable.  Never mind the "web" 
> part, the cooperating-service model is good to know.
> 
> While 100 clients pulsing once every ten seconds is not actually a very 
> demanding scenario, it still benefits from a web-service architecture, 
> properly constructed.  I don't even think it's much harder to conceive 
> than a more monolithic local app would be.
 >
> For example, Peter's suggested data-delivery service would be quite 
> monomaniacal.  It would understand the data needs, in terms of the 
> problem domain of course, but only as relevant data.  It wouldn't care 
> what the client code logic does with that data.  Just concentrate on how

> to get to the data store and construct the desired response.  The 
> clients would remain ignorant of the dirty details - as Peter says, they

> have been abstracted.
> 
> Application development ****fts to a mentality of pulling needed action 
> or information from services that are lying around awaiting activation.
> 
> Web services are a relatively easy way to get into service architecture,

> not only as a programmer but in that you can deploy on as little as
Tomcat.
> 
> Deployment turns out to be the *****.

Exposing data access layer as services is a well known anti-pattern
in SOA.

You should expose the business logic as services.

There may not be much business logic in this case, so it is more
a matter of English than of Java.

Arne
 




 29 Posts in Topic:
Storing data periodically on remote server
carmelo <csaffi@[EMAIL  2008-10-07 03:25:36 
Re: Storing data periodically on remote server
"Peter D." <  2008-10-07 09:10:01 
Re: Storing data periodically on remote server
Lew <noone@[EMAIL PROT  2008-10-07 22:31:54 
Re: Storing data periodically on remote server
=?UTF-8?B?QXJuZSBWYWpow7h  2008-10-09 22:29:10 
Re: Storing data periodically on remote server
=?ISO-8859-1?Q?Arne_Vajh=  2008-10-09 22:24:11 
Re: Storing data periodically on remote server
=?ISO-8859-1?Q?Arne_Vajh=  2008-10-07 19:15:20 
Re: Storing data periodically on remote server
carmelo <csaffi@[EMAIL  2008-10-08 00:46:08 
Re: Storing data periodically on remote server
Lew <noone@[EMAIL PROT  2008-10-08 08:14:52 
Re: Storing data periodically on remote server
=?ISO-8859-1?Q?Arne_Vajh=  2008-10-09 22:12:41 
Re: Storing data periodically on remote server
carmelo <csaffi@[EMAIL  2008-10-08 00:50:18 
Re: Storing data periodically on remote server
Lew <noone@[EMAIL PROT  2008-10-08 08:11:56 
Re: Storing data periodically on remote server
"John B. Matthews&qu  2008-10-08 11:24:52 
Re: Storing data periodically on remote server
=?ISO-8859-1?Q?Arne_Vajh=  2008-10-09 22:38:57 
Re: Storing data periodically on remote server
"John B. Matthews&qu  2008-10-09 23:26:37 
Re: Storing data periodically on remote server
Lew <noone@[EMAIL PROT  2008-10-10 00:35:42 
Re: Storing data periodically on remote server
"John B. Matthews&qu  2008-10-10 11:59:31 
Re: Storing data periodically on remote server
=?UTF-8?B?QXJuZSBWYWpow7h  2008-10-10 22:13:35 
Re: Storing data periodically on remote server
=?ISO-8859-1?Q?Arne_Vajh=  2008-10-10 22:10:37 
Re: Storing data periodically on remote server
"John B. Matthews&qu  2008-10-11 11:42:28 
Re: Storing data periodically on remote server
=?ISO-8859-1?Q?Arne_Vajh=  2008-10-11 11:48:42 
Re: Storing data periodically on remote server
=?UTF-8?B?QXJuZSBWYWpow7h  2008-10-09 22:35:21 
Re: Storing data periodically on remote server
=?ISO-8859-1?Q?Arne_Vajh=  2008-10-09 22:31:01 
Re: Storing data periodically on remote server
"Peter D." <  2008-10-08 08:14:58 
Re: Storing data periodically on remote server
Lord Zoltar <lord.zolt  2008-10-08 08:28:08 
Re: Storing data periodically on remote server
Tom Anderson <twic@[EM  2008-10-11 19:51:49 
Re: Storing data periodically on remote server
=?ISO-8859-1?Q?Arne_Vajh=  2008-10-11 16:21:45 
Re: Storing data periodically on remote server
Tom Anderson <twic@[EM  2008-10-11 23:18:37 
Re: Storing data periodically on remote server
=?ISO-8859-1?Q?Arne_Vajh=  2008-10-11 18:25:38 
Re: Storing data periodically on remote server
Tom Anderson <twic@[EM  2008-10-13 15:39:41 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Nov 21 14:14:36 CST 2008.