Unix Technical Forum

UTL_TCP, Oracle, java

This is a discussion on UTL_TCP, Oracle, java within the Oracle Miscellaneous forums, part of the Oracle Database category; --> Hi All, basically I've got a java server listening on specified port; within Oracle triggers I use UTL_TCP package ...


Go Back   Unix Technical Forum > Database Server Software > Oracle Database > Oracle Miscellaneous

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-08-2008, 11:13 AM
schw
 
Posts: n/a
Default UTL_TCP, Oracle, java

Hi All,

basically I've got a java server listening on specified port; within
Oracle triggers I use UTL_TCP package to send columns data that changed
to the server.

is there any other than UTL_TCP used within oracle triggers solution to
talk to Java deamon?

before i start implementing i'd like to find out other alternatives.

thanks

best regards
schw

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-08-2008, 11:13 AM
schw
 
Posts: n/a
Default Re: UTL_TCP, Oracle, java

just to add something, the server is always running on the same machine
as oracle.


schw wrote:
> Hi All,
>
> basically I've got a java server listening on specified port; within
> Oracle triggers I use UTL_TCP package to send columns data that changed
> to the server.
>
> is there any other than UTL_TCP used within oracle triggers solution to
> talk to Java deamon?
>
> before i start implementing i'd like to find out other alternatives.
>
> thanks
>
> best regards
> schw


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-08-2008, 11:13 AM
Frank van Bortel
 
Posts: n/a
Default Re: UTL_TCP, Oracle, java


schw schreef:

> just to add something, the server is always running on the same machine
> as oracle.
>
>
> schw wrote:
> > Hi All,
> >
> > basically I've got a java server listening on specified port; within
> > Oracle triggers I use UTL_TCP package to send columns data that changed
> > to the server.
> >
> > is there any other than UTL_TCP used within oracle triggers solution to
> > talk to Java deamon?
> >
> > before i start implementing i'd like to find out other alternatives.
> >
> > thanks
> >


What is this daemon doing with the data it gets presented?

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-08-2008, 11:13 AM
schw
 
Posts: n/a
Default Re: UTL_TCP, Oracle, java

basically it passes it over to other servers


Frank van Bortel wrote:
> schw schreef:
>
> > just to add something, the server is always running on the same machine
> > as oracle.
> >
> >
> > schw wrote:
> > > Hi All,
> > >
> > > basically I've got a java server listening on specified port; within
> > > Oracle triggers I use UTL_TCP package to send columns data that changed
> > > to the server.
> > >
> > > is there any other than UTL_TCP used within oracle triggers solution to
> > > talk to Java deamon?
> > >
> > > before i start implementing i'd like to find out other alternatives.
> > >
> > > thanks
> > >

>
> What is this daemon doing with the data it gets presented?


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 04-08-2008, 11:13 AM
Jim Kennedy
 
Posts: n/a
Default Re: UTL_TCP, Oracle, java


"schw" <schwartz@alpha.net.pl> wrote in message
news:1156494426.258935.228940@i3g2000cwc.googlegro ups.com...
> Hi All,
>
> basically I've got a java server listening on specified port; within
> Oracle triggers I use UTL_TCP package to send columns data that changed
> to the server.
>
> is there any other than UTL_TCP used within oracle triggers solution to
> talk to Java deamon?
>
> before i start implementing i'd like to find out other alternatives.
>
> thanks
>
> best regards
> schw
>

You want to be careful. The way you propose to implement you will passon
data that may not exist. For example,
insert x data
utl_tcp sends data
client issues rollback;
now you are out of synch.

Instead wrap the ult_tcp into a package and call dbms_job to run once
immediately. The dbms_job won't run if there is a rollback only if there is
a commit. (see asktom.oracle.com)
Jim


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 04-08-2008, 11:14 AM
DA Morgan
 
Posts: n/a
Default Re: UTL_TCP, Oracle, java

schw wrote:
> Hi All,
>
> basically I've got a java server listening on specified port; within
> Oracle triggers I use UTL_TCP package to send columns data that changed
> to the server.
>
> is there any other than UTL_TCP used within oracle triggers solution to
> talk to Java deamon?
>
> before i start implementing i'd like to find out other alternatives.
>
> thanks
>
> best regards
> schw


No version number and you really do need to stop top posting.

But other than that I'd suggest you look at Advanced Queuing and
specifically the implementation of JMS messaging.
--
Daniel A. Morgan
University of Washington
damorgan@x.washington.edu
(replace x with u to respond)
Puget Sound Oracle Users Group
www.psoug.org
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 06:53 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com