The Artima Developer Community
Sponsored Link

Agile Buzz Forum
Opentalk for database access

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
James Robertson

Posts: 29924
Nickname: jarober61
Registered: Jun, 2003

David Buck, Smalltalker at large
Opentalk for database access Posted: Jun 21, 2008 10:02 AM
Reply to this message Reply

This post originated from an RSS feed registered with Agile Buzz by James Robertson.
Original Post: Opentalk for database access
Feed Title: Cincom Smalltalk Blog - Smalltalk with Rants
Feed URL: http://www.cincomsmalltalk.com/rssBlog/rssBlogView.xml
Feed Description: James Robertson comments on Cincom Smalltalk, the Smalltalk development community, and IT trends and issues in general.
Latest Agile Buzz Posts
Latest Agile Buzz Posts by James Robertson
Latest Posts From Cincom Smalltalk Blog - Smalltalk with Rants

Advertisement

First talk of Saturday - Giorgio is talking about Opentalk, and how they used it to solve a customer problem. The issue: The database they needed to access accessible via ODBC, but the customer they were talking to used Linux. They didn't have an immediate solution to ODBC on Linux, so they went with remote access - ODBC on a Windows box, connected to the Linux system via Opentalk. VW on both sides, obviously.

The best part: "Three lines of code and the systems were connected"

Heh - Giorgio says that Opentalk is so easy to use that it's easy to make distribution mistakes - connecting and sending messages is "too easy" :)

The database itself was on an AS400, which is not a platform Cincom Smalltalk runs on anyway. The base framework Giorgio uses dates back to 1992 and VSE - it's been ported forward over the years.

Another thing they had to deal with - not all connected users were on fast connections - and the way you construct distributed messaging matters a lot with different connection speeds. You also need to be cognizant of two other things:

  • letting the default "self" return from remote methods can be dangerous
  • published objects are weakly held by default, so hold them strongly if you need them

Here's one of the slides Giorgio tossed up, explaining how the (many) clients on a system find a free port to connect on, without conflicts:

Technorati Tags: ,

Read: Opentalk for database access

Topic: Sophie - the future of reading Previous Topic   Next Topic Topic: More notes on StS

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use