You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-dev@jackrabbit.apache.org by "Jukka Zitting (Created) (JIRA)" <ji...@apache.org> on 2012/03/20 17:17:37 UTC

[jira] [Created] (OAK-30) Strongly typed wrapper for the MicroKernel

Strongly typed wrapper for the MicroKernel
------------------------------------------

                 Key: OAK-30
                 URL: https://issues.apache.org/jira/browse/OAK-30
             Project: Jackrabbit Oak
          Issue Type: Improvement
          Components: core
            Reporter: Jukka Zitting
            Assignee: Jukka Zitting


Instead of accessing the MicroKernel interface directly and dealing with details like JSON parsing, the oak-core component should contain a wrapper that adapts the MicroKernel interface to a strongly typed Java API like the internal tree model in OAK-3.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OAK-30) Strongly typed wrapper for the MicroKernel

Posted by "Julian Reschke (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OAK-30?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13233559#comment-13233559 ] 

Julian Reschke commented on OAK-30:
-----------------------------------

>>    ... starting with regular Java Maps ...
>
>See the earlier discussion where the implementation overhead of using Maps was considered too complex.

Thanks for the reminder. As far as I can tell, it was really like a matter of taste, not a real problem with the complexity of Map; but let's stick with a custom interface then.


                
> Strongly typed wrapper for the MicroKernel
> ------------------------------------------
>
>                 Key: OAK-30
>                 URL: https://issues.apache.org/jira/browse/OAK-30
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: core
>            Reporter: Jukka Zitting
>            Assignee: Jukka Zitting
>
> Instead of accessing the MicroKernel interface directly and dealing with details like JSON parsing, the oak-core component should contain a wrapper that adapts the MicroKernel interface to a strongly typed Java API like the internal tree model in OAK-3.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OAK-30) Strongly typed wrapper for the MicroKernel

Posted by "Julian Reschke (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OAK-30?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13233538#comment-13233538 ] 

Julian Reschke commented on OAK-30:
-----------------------------------

So we layer the stringly-typed interface on top of a strongly-typed one? +1 on that.

Where I believe that starting with regular Java Maps could be strong enough.
                
> Strongly typed wrapper for the MicroKernel
> ------------------------------------------
>
>                 Key: OAK-30
>                 URL: https://issues.apache.org/jira/browse/OAK-30
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: core
>            Reporter: Jukka Zitting
>            Assignee: Jukka Zitting
>
> Instead of accessing the MicroKernel interface directly and dealing with details like JSON parsing, the oak-core component should contain a wrapper that adapts the MicroKernel interface to a strongly typed Java API like the internal tree model in OAK-3.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OAK-30) Strongly typed wrapper for the MicroKernel

Posted by "Jukka Zitting (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OAK-30?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13233537#comment-13233537 ] 

Jukka Zitting commented on OAK-30:
----------------------------------

I committed an initial draft of this to o.a.j.oak.kernel in revision 1302981.
                
> Strongly typed wrapper for the MicroKernel
> ------------------------------------------
>
>                 Key: OAK-30
>                 URL: https://issues.apache.org/jira/browse/OAK-30
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: core
>            Reporter: Jukka Zitting
>            Assignee: Jukka Zitting
>
> Instead of accessing the MicroKernel interface directly and dealing with details like JSON parsing, the oak-core component should contain a wrapper that adapts the MicroKernel interface to a strongly typed Java API like the internal tree model in OAK-3.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OAK-30) Strongly typed wrapper for the MicroKernel

Posted by "Jukka Zitting (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OAK-30?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13233541#comment-13233541 ] 

Jukka Zitting commented on OAK-30:
----------------------------------

bq. ... starting with regular Java Maps ...

See the earlier [discussion|http://markmail.org/message/qdvl5zz5cpkoxz3j] where the implementation overhead of using Maps was considered too complex.
                
> Strongly typed wrapper for the MicroKernel
> ------------------------------------------
>
>                 Key: OAK-30
>                 URL: https://issues.apache.org/jira/browse/OAK-30
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: core
>            Reporter: Jukka Zitting
>            Assignee: Jukka Zitting
>
> Instead of accessing the MicroKernel interface directly and dealing with details like JSON parsing, the oak-core component should contain a wrapper that adapts the MicroKernel interface to a strongly typed Java API like the internal tree model in OAK-3.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (OAK-30) Strongly typed wrapper for the MicroKernel

Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OAK-30?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jukka Zitting resolved OAK-30.
------------------------------

       Resolution: Fixed
    Fix Version/s: 0.2

This is more or less done already in o.a.j.oak.kernel.
                
> Strongly typed wrapper for the MicroKernel
> ------------------------------------------
>
>                 Key: OAK-30
>                 URL: https://issues.apache.org/jira/browse/OAK-30
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: core
>            Reporter: Jukka Zitting
>            Assignee: Jukka Zitting
>             Fix For: 0.2
>
>
> Instead of accessing the MicroKernel interface directly and dealing with details like JSON parsing, the oak-core component should contain a wrapper that adapts the MicroKernel interface to a strongly typed Java API like the internal tree model in OAK-3.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira