[Embedlets-dev] Building Latest CVS Version Problems
Status: Alpha
Brought to you by:
tkosan
|
From: James C. <ca...@vi...> - 2003-08-20 15:40:58
|
Hi all,
I have some cool code to integrate into the Embedlet Container, it's a
Remoting Service and enables remote method invocation over a socket
(either a regular socket or I have also implemented a javax.comm
SlipSocketImpl and SlipSocketFactory for devices without socket
capababilities) to a muvium device (or any webService capable Server).
It's a bit like a mini .NET webService framework :-) - Perfect for Teds
LightBlinker project... Just create a light Blinking Embedlet like so..
========================================================================
==
public class LightBlinkerEmbedlet extends Embedlet
{
public static final String PK_IP_ADDRESS =
"LightBlinker.IPAddress";
private LightBlinker myLightBlinker;
public void initialize(){
/**
* Get the IP Address to seek WebServices from for the
*/
try{
String ipAddress = (String)
getContext().getProperty(PK_IP_ADDRESS);
/**
* Access the Default Remoting Service
*/
RemotingService remote =
OutpostContainer.getInstance().getRemotingService();
/**
* Create a LightBlinker
*/
myLightBlinker = new
LightBlinkerProxy(remote.createRemotingProxy(ipAddress, null));
}
catch(Exception e){
}
}
public void receive( EmbedletEvent event )
{
EmbedletEvent relayedEvent;
String relayedInfo;
LoggingService loggingService =
OutpostContainer.getInstance().getDefaultLoggingService();
relayedEvent = (EmbedletEvent)event.getUserData();
relayedInfo = (String)relayedEvent.getUserData();
loggingService.info( "LightBlinker : Received Relayed
Event: " + relayedInfo );
if(myLightBlinker!=null){
myLightBlinker.togglePin();
}
}
========================================================================
==
I am now trying to integrate with the latest build and get it up into
CSV.
BUT! I can't get the latest Embedlet version to build..
I have done my best to find all the dependencies including downloading
the cork-japl packages but org.japl.net.* still appears to be missing
and I can't find it anywhere...ok.. Who's hiding it under their pillow..
Anyone..?
When I plug this in the Container can come to life' - A container with
XML Persistance which can outsource real-time activities to a string of
uVM Real-Time WebServices is a pretty compelling embedded solution..
James Caska
www.muvium.com
uVM - 'Java Bred for Embedded'
-----Original Message-----
From: emb...@li...
[mailto:emb...@li...] On Behalf Of
Brill Pappin
Sent: Saturday, 16 August 2003 3:54 PM
To: emb...@li...
Subject: Re: [Embedlets-dev] Global Light Blinker update (it works!)
Topic tags:[ARCH][JAPL][WIRING][DOCS][MGMT][STRATEGY][NEWBIE]
_______________________________________________
I love the idea!
I've been busy to the *extream* but I'll see if I can make some time to
set up a GLB Node.
- Brill Pappin
----- Original Message -----
From: "Ted Kosan" <tk...@ya...>
To: <emb...@li...>
Sent: Tuesday, August 12, 2003 1:37 AM
Subject: [Embedlets-dev] Global Light Blinker update (it works!)
> Topic tags:[ARCH][JAPL][WIRING][DOCS][MGMT][STRATEGY][NEWBIE]
> _______________________________________________
>
> After putting in the standard 'amazing amount of work' in over the
> past 3
weeks
> I am pleased to announce that:
>
> 1) The Global Light Blinker project has now been officially accepted
> by
the
> JXTA community:
>
> http://globallightblinker.jxta.org
>
>
> 2) The software actually works! At 9:51 PM EST on Monday the latest
version of
> the software successfully controlled a remote simulated light through
> the internet. The amazing thing is that the light was at a friend's
> house, I
was
> at my house and we were both behind NAT boxes! To me the success of
> this experiment means that we can now monitor and control any device
> in almost
any
> home or business from out on the internet. If we switch to JXTA's
> secure transport then we can also do this securely. As far as I am
> aware, we are
the
> first group on the planet to achieve this using an open, secure and
scalable
> networking technology and I think that we are well-poised to meet the
demand of
> the potentially huge market that we have just opened up.
>
>
> The software is currently in the project's CVS (at jxta.org) and I
> hope to
have
> the first alpha release ready to go by the end of the week.
>
>
> Andrzej: Thanks for all of the work you did on submitting
well-thought-out and
> well-documented build.xml files (Ant Rocks! ;-) and directory
> structures
for
> Embedlets, Outpost and Outhouse. I used these as models for the
> GlobalLightBlinker project with excellent results! I also relied
> heavily
on
> your 'programming guidelines' document which I think made a
> significant difference too. The code still needs to be cleaned up a
> bit but this
cleanup
> should be done by the end of the week.
>
>
> Chris: I had promised that as soon as I had the GLB project and
> software running that I would get back to you about the Embedlets
> software and
ideas
> that you have submitted recently. I will be ready to pick this thread
back up
> as soon as the GLB alpha release is finished later this week.
>
> My next area to focus on is to create a JXTA/Outpost interface and to
build an
> Outpost based application that can be used to remotely monitor and
> control physical devices in the home (or business). I think that we
> need to work through the materials and issues you submitted earlier
> before we can move forward with this.
>
>
> James: It is still looking like an RS232/muvium based appliance
controller is
> a good initial inexpensive way to go for the open lamp/appliance
controller
> hardware. My thought is to make and disseminate an initial batch of
> 10
boxes,
> then follow this up with 100 boxes, then 1000 boxes. If we can
> actually
hit
> the 1000 box goal I suppose that any further goals will take care of
> themselves.
>
>
> Bruce: In my mind the next logical step beyond the RS232/muvium boxes
> is Ethernet/TStik based boxes using HTTP based JXME. I think that as
> soon as people see the RS232 based boxes remotely controlling and
> monitoring
things
> inside their homes (and businesses) that they will come up with all
> sorts
of
> ideas for things to be remotely monitored and controlled that RS232
> can
not
> easily reach. TStik seems to be an excellent way to meet this need.
>
>
> Anyway, project JXTA's 'marketeer' has contacted me about doing a
> front
page
> 'spotlight' article on the Global Blinker Project as soon as I am
> ready to submit the information. I think that the GLB project is
> extremely
marketable
> and that it will be fairly easy to get articles about it into almost
> any
or all
> of the major Java news sites (Java.net, JavaWorld, JavaLobby, etc.)
> and probably many non-Java news sites (like slashdot), but not just
> yet. I
want
> move forward step-by-step so that if and when large numbers of people
start
> taking notice of us that we have rock-solid software and hardware
technologies
> to give them.
>
>
> Ted
>
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com
>
>
> -------------------------------------------------------
> This SF.Net email sponsored by: Free pre-built ASP.NET sites including
> Data Reports, E-commerce, Portals, and Forums are available now.
> Download today and enter to win an XBOX or Visual Studio .NET.
>
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01
/01
> _______________________________________________
> Embedlets-developer mailing list
> Emb...@li...
> https://lists.sourceforge.net/lists/listinfo/embedlets-developer
>
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01
/01
_______________________________________________
Embedlets-developer mailing list
Emb...@li...
https://lists.sourceforge.net/lists/listinfo/embedlets-developer
|