Thread: [Embedlets-dev] Re: Releases
Status: Alpha
Brought to you by:
tkosan
|
From: Andrzej J. T. <an...@ch...> - 2003-04-04 03:03:32
|
Ted asks: > Well, the Embedlets sourceforge page indicates that the project has not > released any files to users yet. So, are you saying that we should offically > release the embedlet_004.zip, outpost_004.zip and outhouse_002.zip files using > the standard sourceforge site release mechanism? Sure....if you want to be "official" about it. I see no harm in doing so. It will make it easier for non-developer types to find and familiarize themselves with work to date. ...Andrzej Chaeron Corporation http://www.chaeron.com |
|
From: Brill P. <bri...@ro...> - 2003-04-05 04:49:38
|
http://wireless.java.sun.com/personal/ttips/ixc/ Hmm... might be able to adapt this... - Brill Pappin Rogue Robotics www.roguerobotics.com |
|
From: Ted K. <tk...@ya...> - 2003-04-05 20:38:52
|
Brill said, > http://wireless.java.sun.com/personal/ttips/ixc/ > > Hmm... might be able to adapt this... I've done some XLet programming for iTV applications: http://www.javadevices.org/dtcourse and what I am thinking is that XLets could benefit greatly by using Embedlets. To me the Embedlet event model appears to be much better than any other inter-XLet communications mechanism that have been developed to date. Ted __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com |
|
From: Christopher S. <cs...@oo...> - 2003-05-01 23:42:22
|
After taking some time to feed the family I put some work into the persistence model. I have a working PersistentContainer (OutpostContainer subclass) that gets loaded from an XML file, creates the services defined in the XML file and then starts up. I will be following up with some mode documentation and sample components, but wanted to get it archived at a plateau and visible for feedback so I checked it in under the 'Persistence tag'. Please check it out and give me some feedback good or bad. This required a number of new interfaces and classes as you might of expected. I made every effort leave the existing classes intact and only had to change a couple of exposure levels to public in order to subclass the various objects and add a few 'setter' methods. Andrzej please forgive the minor trespasses. The core concept is the persistence.Persistent and persistence.Properties interfaces that allow classes to be saved and restored from a variety of persistent or transient stores. In this case the store is an XML file which is controlled by the XMLProperties class and XMLPersistenceManager. In a remotely controlled model the 'store' is a TCP/IP stream. I am converting an example of this from the OPC components code. Another important class is the PersistentCollection that provides aggregation for other Persistent objects, thus supporting the object tree. References between classes are defined by the href="Identity" attribute The first cut applies a persistence interface to the Context objects that Andrzej created. This is done by sub classing the particular Context class as org.outpost.persistence.PersistentXxxxxContext and implementing the org.embedlet.persistence.Persistent interface to support loading the contexts. I used a small class (org.outpost.persistence.xml.Launcher) to start things off and create the Container and its services from the persistence source at run time. This will allow us to use several launch modes and persistence media with the same container rather than requiring a different container for each. To try things out: 1. Update using the tag Persistent 2. Copy the org/outpost/persistence/xml/kxml-min.jar to the outpost/lib folder. This the parser that I used. 2. Recompile embedlets and outpost using the make.compile 4. Run: java -cp yourClasspath -DConfigFile=YourSrcFolder\org\outpost\persistence\config.xml org.embedlet.persistence.xml.Launcher 5. It should load and run the container and its services. I have created three sample components: a timer, a toggle and a counter. These will be started with the container on the next go around. Chris Christopher Smith OopScope, LLC. www.oopscope.com cs...@oo... 805-276-0598 |
|
From: Ted K. <tk...@ya...> - 2003-05-02 17:48:19
|
Chris, > After taking some time to feed the family I put some work into the > persistence model. I had a number of things I needed to attend to also but I am almost out from under them now and ready to switch back to Embedlets again. > I have a working PersistentContainer (OutpostContainer subclass) that gets > loaded from an XML file, creates the services defined in the XML file and > then starts up. [snip] This is great! I will checkout your additions this weekend and start playing with them. Ted __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com |
|
From: Ted K. <tk...@ya...> - 2003-05-06 07:21:46
|
Chris,
Ok, I am working on trying out your persistence code.
> To try things out:
>
> 1. Update using the tag Persistent
I just when ahead did a fresh checkout of 'embedlet' and 'outpost'.
> 2. Copy the org/outpost/persistence/xml/kxml-min.jar to the outpost/lib
> folder. This the parser that I used.
No problems here.
> 2. Recompile embedlets and outpost using the make.compile
Did you mean 'ant compile' here? I did this and I received the following
compiler errors:
<dump>
[tkosan@localhost outpost]$ ant compile
Buildfile: build.xml
init:
compile:
[javac] Compiling 33 source files to
/home/tkosan/embedlets/chris/outpost/build/classes
[javac]
/home/tkosan/embedlets/chris/outpost/src/org/outpost/components/digital/Counter.java:74:
cannot resolve symbol
[javac] symbol : class BooleanEvent
[javac] location: package event
[javac] import org.outpost.event.BooleanEvent;
[javac] ^
[javac]
/home/tkosan/embedlets/chris/outpost/src/org/outpost/components/digital/Counter.java:157:
cannot resolve symbol
[javac] symbol : class BooleanEvent
[javac] location: class org.outpost.components.digital.Counter
[javac] BooleanEvent i = (BooleanEvent) event;
[javac] ^
[javac]
/home/tkosan/embedlets/chris/outpost/src/org/outpost/components/digital/Counter.java:157:
cannot resolve symbol
[javac] symbol : class BooleanEvent
[javac] location: class org.outpost.components.digital.Counter
[javac] BooleanEvent i = (BooleanEvent) event;
[javac] ^
[javac] 3 errors
BUILD FAILED
</dump>
Its late and I am a bit 'fuzzy brained' but is BooleanEvent a class that you
added?
Ted
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
|
|
From: Christopher S. <cs...@oo...> - 2003-05-12 16:09:39
|
Ted, I have been away for most of last week and will take a look at this today. Chris > > > Topic tags:[ARCH][JAPL][WIRING][DOCS][MGMT][STRATEGY][NEWBIE] > _______________________________________________ > > Chris, > > Ok, I am working on trying out your persistence code. > > > > To try things out: > > > > 1. Update using the tag Persistent > > I just when ahead did a fresh checkout of 'embedlet' and 'outpost'. > > > > 2. Copy the org/outpost/persistence/xml/kxml-min.jar to the outpost/lib > > folder. This the parser that I used. > > No problems here. > > > > 2. Recompile embedlets and outpost using the make.compile > > Did you mean 'ant compile' here? I did this and I received the following > compiler errors: > > <dump> > > [tkosan@localhost outpost]$ ant compile > Buildfile: build.xml > > init: > > compile: > [javac] Compiling 33 source files to > /home/tkosan/embedlets/chris/outpost/build/classes > [javac] > /home/tkosan/embedlets/chris/outpost/src/org/outpost/components/di > gital/Counter.java:74: > cannot resolve symbol > [javac] symbol : class BooleanEvent > [javac] location: package event > [javac] import org.outpost.event.BooleanEvent; > [javac] ^ > [javac] > /home/tkosan/embedlets/chris/outpost/src/org/outpost/components/di > gital/Counter.java:157: > cannot resolve symbol > [javac] symbol : class BooleanEvent > [javac] location: class org.outpost.components.digital.Counter > [javac] BooleanEvent i = (BooleanEvent) event; > [javac] ^ > [javac] > /home/tkosan/embedlets/chris/outpost/src/org/outpost/components/di > gital/Counter.java:157: > cannot resolve symbol > [javac] symbol : class BooleanEvent > [javac] location: class org.outpost.components.digital.Counter > [javac] BooleanEvent i = (BooleanEvent) event; > [javac] ^ > [javac] 3 errors > > BUILD FAILED > > </dump> > > > Its late and I am a bit 'fuzzy brained' but is BooleanEvent a > class that you > added? > > > Ted > > __________________________________ > Do you Yahoo!? > The New Yahoo! Search - Faster. Easier. Bingo. > http://search.yahoo.com > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Embedlets-developer mailing list > Emb...@li... > https://lists.sourceforge.net/lists/listinfo/embedlets-developer > |
|
From: Christopher S. <cs...@oo...> - 2003-05-12 16:20:23
|
Try it now - I missed the new event classes on checkin. Christopher Smith OopScope, LLC. www.oopscope.com cs...@oo... 805-276-0598 > > Topic tags:[ARCH][JAPL][WIRING][DOCS][MGMT][STRATEGY][NEWBIE] > _______________________________________________ > > Chris, > > Ok, I am working on trying out your persistence code. > > > > To try things out: > > > > 1. Update using the tag Persistent > > I just when ahead did a fresh checkout of 'embedlet' and 'outpost'. > > > > 2. Copy the org/outpost/persistence/xml/kxml-min.jar to the outpost/lib > > folder. This the parser that I used. > > No problems here. > > > > 2. Recompile embedlets and outpost using the make.compile > > Did you mean 'ant compile' here? I did this and I received the following > compiler errors: > > <dump> > > [tkosan@localhost outpost]$ ant compile > Buildfile: build.xml > > init: > > compile: > [javac] Compiling 33 source files to > /home/tkosan/embedlets/chris/outpost/build/classes > [javac] > /home/tkosan/embedlets/chris/outpost/src/org/outpost/components/di > gital/Counter.java:74: > cannot resolve symbol > [javac] symbol : class BooleanEvent > [javac] location: package event > [javac] import org.outpost.event.BooleanEvent; > [javac] ^ > [javac] > /home/tkosan/embedlets/chris/outpost/src/org/outpost/components/di > gital/Counter.java:157: > cannot resolve symbol > [javac] symbol : class BooleanEvent > [javac] location: class org.outpost.components.digital.Counter > [javac] BooleanEvent i = (BooleanEvent) event; > [javac] ^ > [javac] > /home/tkosan/embedlets/chris/outpost/src/org/outpost/components/di > gital/Counter.java:157: > cannot resolve symbol > [javac] symbol : class BooleanEvent > [javac] location: class org.outpost.components.digital.Counter > [javac] BooleanEvent i = (BooleanEvent) event; > [javac] ^ > [javac] 3 errors > > BUILD FAILED > > </dump> > > > Its late and I am a bit 'fuzzy brained' but is BooleanEvent a > class that you > added? > > > Ted > > __________________________________ > Do you Yahoo!? > The New Yahoo! Search - Faster. Easier. Bingo. > http://search.yahoo.com > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Embedlets-developer mailing list > Emb...@li... > https://lists.sourceforge.net/lists/listinfo/embedlets-developer > |
|
From: Ted K. <tk...@ya...> - 2003-05-14 17:23:05
|
Chris, Ok, getting closer. Here is my latest attempt to run the persistence demo: <shell-dump> [tkosan@localhost outpost]$ java -cp/home/tkosan/embedlets/chris/outpost/lib/emb edlet.jar:/home/tkosan/embedlets/chris/outpost/lib/kxml-min.jar:/home/tkosan/embe dlets/chris/outpost/build/classes -DConfigFile=/home/tkosan/embedlets/chris/outpo st/src/org/outpost/persistence/config.xml org.outpost.persistence.xml.Launcher Error: org.embedlet.lifecycle.LifecycleError: Component Create failed for: outpost.Logging, org.embedlet.lifecycle.LifecycleException: Service Category unknown for: outpost.Loggingorg.embedlet.lifecycle.LifecycleException: Component Create failed for : outpost.Logging, org.embedlet.lifecycle.LifecycleException: Service Category unknown for: outpost.Logging </shell-dump> Evidently I need to figure out what a 'Service Category unknown' error is in order to fix this but I will not have time until tomorrow. Almost there though... Ted __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com |
|
From: Christopher S. <cs...@oo...> - 2003-05-31 08:46:30
|
I put in a day and a half on the Persistnce startup code. It is now launching the container with the initial services, based on the definitons in the config.xml file. The config.xml now conforms to the PK_COMPONENT_XXX definitions and there are no hard-coded property keys. To try things out: 1. Update with the latest embedlets.embedlet and embedlet.outpost code from cvs. Be sure to check the 'create missing directoris that exist in respository' on 2. Build embedlet and outpost in that order using the all-clean target in each build.xml. 4. From the embedlets\outpost folder run: java -cp build\classes;lib\kxml-min.jar;.\lib\embedlet.jar -DConfigFile=.\src\org\out post\persistence\config.xml org.outpost.persistence.xml.Launcher 5. It should load and run the container and its services. I have created three sample components: a timer, a toggle and a counter. These will be started with the container on the next go around. > > Topic tags:[ARCH][JAPL][WIRING][DOCS][MGMT][STRATEGY][NEWBIE] > _______________________________________________ > > Chris, > > Ok, I am working on trying out your persistence code. > > > > To try things out: > > > > 1. Update using the tag Persistent > > I just when ahead did a fresh checkout of 'embedlet' and 'outpost'. > > > > 2. Copy the org/outpost/persistence/xml/kxml-min.jar to the outpost/lib > > folder. This the parser that I used. > > No problems here. > > > > 2. Recompile embedlets and outpost using the make.compile > > Did you mean 'ant compile' here? I did this and I received the following > compiler errors: > > <dump> > > [tkosan@localhost outpost]$ ant compile > Buildfile: build.xml > > init: > > compile: > [javac] Compiling 33 source files to > /home/tkosan/embedlets/chris/outpost/build/classes > [javac] > /home/tkosan/embedlets/chris/outpost/src/org/outpost/components/di > gital/Counter.java:74: > cannot resolve symbol > [javac] symbol : class BooleanEvent > [javac] location: package event > [javac] import org.outpost.event.BooleanEvent; > [javac] ^ > [javac] > /home/tkosan/embedlets/chris/outpost/src/org/outpost/components/di > gital/Counter.java:157: > cannot resolve symbol > [javac] symbol : class BooleanEvent > [javac] location: class org.outpost.components.digital.Counter > [javac] BooleanEvent i = (BooleanEvent) event; > [javac] ^ > [javac] > /home/tkosan/embedlets/chris/outpost/src/org/outpost/components/di > gital/Counter.java:157: > cannot resolve symbol > [javac] symbol : class BooleanEvent > [javac] location: class org.outpost.components.digital.Counter > [javac] BooleanEvent i = (BooleanEvent) event; > [javac] ^ > [javac] 3 errors > > BUILD FAILED > > </dump> > > > Its late and I am a bit 'fuzzy brained' but is BooleanEvent a > class that you > added? > > > Ted > > __________________________________ > Do you Yahoo!? > The New Yahoo! Search - Faster. Easier. Bingo. > http://search.yahoo.com > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Embedlets-developer mailing list > Emb...@li... > https://lists.sourceforge.net/lists/listinfo/embedlets-developer > |
|
From: Ted K. <tk...@ya...> - 2003-06-02 03:10:12
|
Chris, > I put in a day and a half on the Persistnce startup code. It is now > launching the container with the initial services, based on the definitons > in the config.xml file. > > To try things out: I checked out and tried the code and it worked fine! Moving the setup procedure into the build.xml file made things much smoother too. Also, I am running on a Linux box and this did not seem to cause any problems. What might be helpful at this point would be to put together an appendix on the Persistence API that could be added to the specification document. I would be nice to see some high level documentation that describes the Persistence API's 'theory of operation' and typical use cases. Just a thought. Anyway, it looks good so far! Ted __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com |