db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "TomohitoNakayama" <tomon...@basil.ocn.ne.jp>
Subject Re: Difference between Session and Connection.
Date Tue, 19 Jul 2005 11:10:25 GMT
Hello.

I have read codes around impl.drda.Session and found they have something to do with DRDA protocol.

In the specification of DRDA found in open group's site (http://www.opengroup.org/bookstore/catalog/dm.htm)
told 
that DRDA protocol provide connection architecture as next :
2.3 DRDA Connection Architecture
    Connectivity in support of remote database management system processing requires a
    connection architecture that defines specific flows and interactions that convey the intent
and
    results of remote database management system processing requests. DRDA provides the
    necessary connection between an application and a relational database management system
in a
    distributed environment.

I think impl.drda.Session stands for connection defined in DRDA protocol.
Programmer might made effort to distinguish the word from java.sql.Connection ...

Best regards.

/*

         Tomohito Nakayama
         tomonaka@basil.ocn.ne.jp
         tomohito@rose.zero.ad.jp
         tmnk@apache.org

         Naka
         http://www5.ocn.ne.jp/~tomohito/TopPage.html

*/
----- Original Message ----- 
From: "David Van Couvering" <David.Vancouvering@Sun.COM>
To: "Derby Development" <derby-dev@db.apache.org>
Sent: Tuesday, July 19, 2005 2:22 AM
Subject: Re: Difference between Session and Connection.


> My understanding from working with this code is that a Session on the
> Network Server is a one-to-one correspondence with a Connection on the
> Network Client.  They are the two endpoints of the same communication
> channel.
> 
> David
> 
> TomohitoNakayama wrote:
>> Hello.
>> 
>> I had found a class org.apache.derby.impl.drda.Session 
>> (http://incubator.apache.org/derby/javadoc/engine/org/apache/derby/impl/drda/Session.html)
>> It seems that there exists concept of Session in Derby.
>> 
>> However, I'm not sure difference between Session and Connection ...
>> It seems very same  but sence some difference ....
>> 
>> //I imagine Session may be concept which exists only in drda module ....
>> 
>> Does anyone know the certain imformation ...?
>> 
>> Best regards.
>> 
>> /*
>> 
>>          Tomohito Nakayama
>>          tomonaka@basil.ocn.ne.jp
>>          tomohito@rose.zero.ad.jp
>>          tmnk@apache.org
>> 
>>          Naka
>>          http://www5.ocn.ne.jp/~tomohito/TopPage.html
>> 
>> */
>> ----- Original Message ----- 
>> From: "Tomohito Nakayama (JIRA)" <derby-dev@db.apache.org>
>> To: <derby-dev@db.apache.org>
>> Sent: Thursday, July 14, 2005 12:33 AM
>> Subject: [jira] Created: (DERBY-458) Make it clear the difference between EmbedConnection
and Networked Connection
>> 
>> 
>> 
>>>Make it clear the difference between EmbedConnection and Networked Connection
>>>-----------------------------------------------------------------------------
>>>
>>>        Key: DERBY-458
>>>        URL: http://issues.apache.org/jira/browse/DERBY-458
>>>    Project: Derby
>>>       Type: Task
>>> Components: Network Server, Network Client
>>>   Reporter: Tomohito Nakayama
>>>
>>>
>>>This is question found in DERBY-397.
>>>There must be significant difference between EmbedConnection and Networked Connection.
>>>
>>>What is the difference between them ?
>>>
>>>It is a significant characteristic of Derby to have EmbedConnection.
>>>Then, this difference will have special meaning in development of Derby ...
>>>
>>>I think we should discuss in ML ....
>>>
>>>-- 
>>>This message is automatically generated by JIRA.
>>>-
>>>If you think it was sent incorrectly contact one of the administrators:
>>>  http://issues.apache.org/jira/secure/Administrators.jspa
>>>-
>>>For more information on JIRA, see:
>>>  http://www.atlassian.com/software/jira
>>>
>>>
>>>
>>>
>>>-- 
>>>No virus found in this incoming message.
>>>Checked by AVG Anti-Virus.
>>>Version: 7.0.323 / Virus Database: 267.8.13/47 - Release Date: 2005/07/12
>>>
>>>
>> 
>> 
>> 
>> 
> 
> 
> 
> 
> -- 
> No virus found in this incoming message.
> Checked by AVG Anti-Virus.
> Version: 7.0.323 / Virus Database: 267.9.0/50 - Release Date: 2005/07/16
>


-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.9.1/51 - Release Date: 2005/07/18


Mime
View raw message