jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Singer (JIRA)" <j...@apache.org>
Subject [jira] Updated: (JCR-206) Extend the current RMI implementation to support IIOP
Date Mon, 12 Sep 2005 15:58:30 GMT
     [ http://issues.apache.org/jira/browse/JCR-206?page=all ]

Michael Singer updated JCR-206:
-------------------------------

    Attachment: rmi-iiop.patch
                o.a.j.rmi.remote.additions.zip
                o.a.j.rmi.server.additions.zip

In order to get the remote and server package compiled with rmic -iiop some changes were necessary:

added RemoteNodeIterator - not used at the moment
RemoteProperty - getValue() and getValues() now return the type RemoteValue
RemotePropertyDefinition - getDefaultValues now returns a RemoteValue[]
added RemoteRangeIterator - not used at the moment
RemoteRepository - added method login(string, string) to get a simple login-method for .NET
RemoteRow - getValue() and getValues() now return the type RemoteValue
added RemoteValue - Remote interface representing javax.jcr.Value
added RemoteValueFactory - not used at the moment, ignore the exception thrown by rmic

added Server - instantiates a Repository and registers it to the naming service (orbd listening
on localhost:5010)
ServerLock - now extends PortableRemoteObject to enable IIOP
added ServerNodeIterator - not used at the moment
ServerObject - now extends PortableRemoteObject to enable IIOP
ServerProperty - getValue() and getValues() now return type RemoteValue
ServerPropertyDefinition - getDefaultValues now returns type RemoteValue[]
ServerRepository - added method login(string, string) to get a simple login-method for .NET

ServerRow - getValue() and getValues() now return type RemoteValue
added ServerValue - implementation of interface RemoteValue

SerialValueFactory - several changes to fit RemoteValue and ServerValue

compilation and IDL-generation is done with:

rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -iiop -g org.apache.jackrabbit.rmi.remote.RemoteRepository
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -iiop -g org.apache.jackrabbit.rmi.remote.RemoteEventCollection
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -iiop -g org.apache.jackrabbit.rmi.remote.RemoteItem
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -iiop -g org.apache.jackrabbit.rmi.remote.RemoteItemDefinition
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -iiop -g org.apache.jackrabbit.rmi.remote.RemoteLock
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -iiop -g org.apache.jackrabbit.rmi.remote.RemoteNamespaceRegistry
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -iiop -g org.apache.jackrabbit.rmi.remote.RemoteNode
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -iiop -g org.apache.jackrabbit.rmi.remote.RemoteNodeDefinition
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -iiop -g org.apache.jackrabbit.rmi.remote.RemoteNodeType
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -iiop -g org.apache.jackrabbit.rmi.remote.RemoteObservationManager
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -iiop -g org.apache.jackrabbit.rmi.remote.RemoteProperty
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -iiop -g org.apache.jackrabbit.rmi.remote.RemotePropertyDefinition
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -iiop -g org.apache.jackrabbit.rmi.remote.RemoteQuery
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -iiop -g org.apache.jackrabbit.rmi.remote.RemoteQueryManager
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -iiop -g org.apache.jackrabbit.rmi.remote.RemoteQueryResult
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -iiop -g org.apache.jackrabbit.rmi.remote.RemoteRepository
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -iiop -g org.apache.jackrabbit.rmi.remote.RemoteRow
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -iiop -g org.apache.jackrabbit.rmi.remote.RemoteSession
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -iiop -g org.apache.jackrabbit.rmi.remote.RemoteVersion
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -iiop -g org.apache.jackrabbit.rmi.remote.RemoteVersionHistory
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -iiop -g org.apache.jackrabbit.rmi.remote.RemoteWorkspace
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -iiop -g org.apache.jackrabbit.rmi.remote.RemoteValue
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -iiop -g org.apache.jackrabbit.rmi.remote.RemoteValueFactory
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -iiop -g org.apache.jackrabbit.rmi.remote.RemoteNodeIterator

rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -idl -g org.apache.jackrabbit.rmi.remote.RemoteRepository
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -idl -g org.apache.jackrabbit.rmi.remote.RemoteEventCollection
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -idl -g org.apache.jackrabbit.rmi.remote.RemoteItem
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -idl -g org.apache.jackrabbit.rmi.remote.RemoteItemDefinition
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -idl -g org.apache.jackrabbit.rmi.remote.RemoteLock
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -idl -g org.apache.jackrabbit.rmi.remote.RemoteNamespaceRegistry
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -idl -g org.apache.jackrabbit.rmi.remote.RemoteNode
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -idl -g org.apache.jackrabbit.rmi.remote.RemoteNodeDefinition
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -idl -g org.apache.jackrabbit.rmi.remote.RemoteNodeType
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -idl -g org.apache.jackrabbit.rmi.remote.RemoteObservationManager
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -idl -g org.apache.jackrabbit.rmi.remote.RemoteProperty
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -idl -g org.apache.jackrabbit.rmi.remote.RemotePropertyDefinition
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -idl -g org.apache.jackrabbit.rmi.remote.RemoteQuery
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -idl -g org.apache.jackrabbit.rmi.remote.RemoteQueryManager
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -idl -g org.apache.jackrabbit.rmi.remote.RemoteQueryResult
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -idl -g org.apache.jackrabbit.rmi.remote.RemoteRepository
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -idl -g org.apache.jackrabbit.rmi.remote.RemoteRow
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -idl -g org.apache.jackrabbit.rmi.remote.RemoteSession
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -idl -g org.apache.jackrabbit.rmi.remote.RemoteValue
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -idl -g org.apache.jackrabbit.rmi.remote.RemoteValueFactory
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -idl -g org.apache.jackrabbit.rmi.remote.RemoteVersion
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -idl -g org.apache.jackrabbit.rmi.remote.RemoteVersionHistory
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -idl -g org.apache.jackrabbit.rmi.remote.RemoteWorkspace
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -idl -g org.apache.jackrabbit.rmi.remote.RemoteNodeIterator

rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -iiop -g org.apache.jackrabbit.rmi.server.ServerEventCollection
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -iiop -g org.apache.jackrabbit.rmi.server.ServerItem
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -iiop -g org.apache.jackrabbit.rmi.server.ServerItemDefinition
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -iiop -g org.apache.jackrabbit.rmi.server.ServerLock
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -iiop -g org.apache.jackrabbit.rmi.server.ServerNamespaceRegistry
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -iiop -g org.apache.jackrabbit.rmi.server.ServerNode
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -iiop -g org.apache.jackrabbit.rmi.server.ServerNodeDefinition
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -iiop -g org.apache.jackrabbit.rmi.server.ServerNodeType
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -iiop -g org.apache.jackrabbit.rmi.server.ServerNodeTypeManager
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -iiop -g org.apache.jackrabbit.rmi.server.ServerObject
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -iiop -g org.apache.jackrabbit.rmi.server.ServerObservationManager
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -iiop -g org.apache.jackrabbit.rmi.server.ServerProperty
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -iiop -g org.apache.jackrabbit.rmi.server.ServerPropertyDefinition
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -iiop -g org.apache.jackrabbit.rmi.server.ServerQuery
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -iiop -g org.apache.jackrabbit.rmi.server.ServerQueryManager
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -iiop -g org.apache.jackrabbit.rmi.server.ServerQueryResult
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -iiop -g org.apache.jackrabbit.rmi.server.ServerRepository
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -iiop -g org.apache.jackrabbit.rmi.server.ServerRow
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -iiop -g org.apache.jackrabbit.rmi.server.ServerSession
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -iiop -g org.apache.jackrabbit.rmi.server.ServerVersion
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -iiop -g org.apache.jackrabbit.rmi.server.ServerVersionHistory
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -iiop -g org.apache.jackrabbit.rmi.server.ServerWorkspace
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -iiop -g org.apache.jackrabbit.rmi.server.ServerValue
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -iiop -g org.apache.jackrabbit.rmi.server.ServerNodeIterator

rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -idl -g org.apache.jackrabbit.rmi.server.ServerEventCollection
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -idl -g org.apache.jackrabbit.rmi.server.ServerItem
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -idl -g org.apache.jackrabbit.rmi.server.ServerItemDefinition
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -idl -g org.apache.jackrabbit.rmi.server.ServerLock
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -idl -g org.apache.jackrabbit.rmi.server.ServerNamespaceRegistry
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -idl -g org.apache.jackrabbit.rmi.server.ServerNode
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -idl -g org.apache.jackrabbit.rmi.server.ServerNodeDefinition
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -idl -g org.apache.jackrabbit.rmi.server.ServerNodeType
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -idl -g org.apache.jackrabbit.rmi.server.ServerNodeTypeManager
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -idl -g org.apache.jackrabbit.rmi.server.ServerObject
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -idl -g org.apache.jackrabbit.rmi.server.ServerObservationManager
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -idl -g org.apache.jackrabbit.rmi.server.ServerProperty
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -idl -g org.apache.jackrabbit.rmi.server.ServerPropertyDefinition
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -idl -g org.apache.jackrabbit.rmi.server.ServerQuery
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -idl -g org.apache.jackrabbit.rmi.server.ServerQueryManager
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -idl -g org.apache.jackrabbit.rmi.server.ServerQueryResult
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -idl -g org.apache.jackrabbit.rmi.server.ServerRepository
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -idl -g org.apache.jackrabbit.rmi.server.ServerRow
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -idl -g org.apache.jackrabbit.rmi.server.ServerSession
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -idl -g org.apache.jackrabbit.rmi.server.ServerVersion
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -idl -g org.apache.jackrabbit.rmi.server.ServerVersionHistory
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -idl -g org.apache.jackrabbit.rmi.server.ServerWorkspace
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -idl -g org.apache.jackrabbit.rmi.server.ServerValue
rmic -classpath .;%JARS%\jackrabbit.jar;%JARS%\jcr-1.0.jar; -depend -idl -g org.apache.jackrabbit.rmi.server.ServerNodeIterator

The patch enclosed has been created with subclipse on contrib/jcr-rmi/

The sources are compiled against the latest jdk1.5

Note that there will be several errors in the client package after applying the patch.

> Extend the current RMI implementation to support IIOP
> -----------------------------------------------------
>
>          Key: JCR-206
>          URL: http://issues.apache.org/jira/browse/JCR-206
>      Project: Jackrabbit
>         Type: Improvement
>  Environment: Win XP, Sun JDK 1.5.0
>     Reporter: Michael Singer
>     Assignee: Jukka Zitting
>  Attachments: o.a.j.rmi.remote.additions.zip, o.a.j.rmi.server.additions.zip, rmi-iiop.patch
>
> In order to get remote access to jackrabbit from .NET it would make sense to extend the
current RMI implementation to support RMI-IIOP [1]. The use of projects like IIOP.NET from
http://iiop-net.sourceforge.net/ would then be possible.
> What do you think?
> [1] http://java.sun.com/j2se/1.5.0/docs/guide/rmi-iiop/index.html

-- 
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


Mime
View raw message