directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ole Ersoy <ole_er...@yahoo.com>
Subject Re: [jira] Assigned: (DIRSERVER-180) Figure out and add schema object parsing into this package
Date Tue, 08 Aug 2006 19:55:30 GMT
OK

I took a quick look at this article:

http://www.javalobby.org/articles/antlr/

Here's a quote:

The first thing to do is to define an object model for
the constraints language.

So with EMF, we would define this object model using
Ecore's XMI, XML Schema, or java interface
annotations.

Then generate all the code for the model, and the
model is ready to go.  EMF generates interfaces for
all implementation classes, factory code for
implementation instantiation, etc.

Does that sound useful?

If you give me a description of the lifecycle /
process of the work that needs to get done along with
some simple examples of the challenges, I'll be in a
better position to illustrate how EMF can help.

 
--- Ersin Er <ersin.er@gmail.com> wrote:

> We are always open for contributions :) Just please
> show how we can
> benefit from it.
> 
> Thanks.
> 
> -- 
> Ersin
> 
> On 8/8/06, Ole Ersoy <ole_ersoy@yahoo.com> wrote:
> > With EMF we can model a model that can be a model
> of
> > another model.
> >
> > It's a modeling framework that's a subset of the
> OMG's
> > Meta Object Facility.
> >
> > If anyone wants me to do a "OK - How would we do
> this
> > in EMF?" I can do a quick proof of concept.
> >
> > The EMF API is also used in IBM's and BEA's
> service
> > data objects specification, so it can be used to
> > integrate elegantly with just about any backend.
> >
> > See http://www.eclipse.org/emf/ for more info...
> >
> > --- Ersin Er <ersin.er@gmail.com> wrote:
> >
> > > On 8/8/06, Ole Ersoy <ole_ersoy@yahoo.com>
> wrote:
> > > > Would it be helpful if the Schema were an XML
> > > Schema
> > > > and we could generate all the model code from
> this
> > > > schema?
> > >
> > > Well, we'll define the schema as defined in RFC
> > > 4512. As this RFC
> > > defines a model for expressing schema elements
> again
> > > as schema
> > > elements, when we adopt it, we will be able to
> > > update the schema over
> > > the LDAP protocol with a standard LDAP client.
> So
> > > all the schema will
> > > be hold on the DIT.
> > >
> > > > If so Eclipse EMF is pretty helpful and
> generates
> > > very
> > > > elegant model code, in addition to many other
> > > things.
> > > >
> > > > The API can also be used to validate an
> imported
> > > model
> > > > using the XML Schema modeled constraints.
> > >
> > > Directory world has DSML for defining ldap data.
> We
> > > may support it
> > > some time in the future.
> > >
> > > Thanks.
> > >
> > > --
> > > Ersin
> > >
> > > > --- "Alex Karasulu (JIRA)" <jira@apache.org>
> > > wrote:
> > > >
> > > > >      [
> > > > >
> > > >
> > >
> >
>
http://issues.apache.org/jira/browse/DIRSERVER-180?page=all
> > > > > ]
> > > > >
> > > > > Alex Karasulu reassigned DIRSERVER-180:
> > > > > ---------------------------------------
> > > > >
> > > > >     Assignee: Ersin Er  (was: Alex Karasulu)
> > > > >
> > > > > This is something our resident ANTLR guru
> can
> > > take a
> > > > > look at when he has a chance.
> > > > >
> > > > > > Figure out and add schema object parsing
> into
> > > this
> > > > > package
> > > > > >
> > > > >
> > > >
> > >
> >
>
----------------------------------------------------------
> > > > > >
> > > > > >                 Key: DIRSERVER-180
> > > > > >                 URL:
> > > > >
> > >
> http://issues.apache.org/jira/browse/DIRSERVER-180
> > > > > >             Project: Directory ApacheDS
> > > > > >          Issue Type: Improvement
> > > > > >            Reporter: Alex Karasulu
> > > > > >         Assigned To: Ersin Er
> > > > > >
> > > > > > It would be nice to be able to have
> > > functionality
> > > > > to parse schema object.  This will come in
> handy
> > > for
> > > > > any LDAP package.   It might be worth adding
> it
> > > > > here.  This and even schema object rendering
> in
> > > the
> > > > > respective syntax.
> > > > >
> > > > > --
> > > > > 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
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > >
> __________________________________________________
> > > > Do You Yahoo!?
> > > > Tired of spam?  Yahoo! Mail has the best spam
> > > protection around
> > > > http://mail.yahoo.com
> > > >
> > >
> > >
> > > --
> > > Ersin
> > >
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam
> protection around
> > http://mail.yahoo.com
> >
> 
> 
> -- 
> Ersin
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Mime
View raw message