So I spent some time last night working with the DeviceMap Java API. Good news 
is that I was able to get everything working as needed. My next step is finish 
up a few web pages and have a fully functioning "demo" site. Hopefully this 
will be done and ready in the next week or two.

That being said, I would like focus more on the Java API next. Here are some 
issues I found which I think can be addressed (mostly maven related):

-The oddr package is empty: 
https://svn.apache.org/repos/asf/incubator/devicemap/trunk/openddr/java/src/main/java/org/openddr/simpleapi/oddr/.
 The example here makes use of oddr: 
https://github.com/OpenDDRdotORG/OpenDDR-Java. So this needs to be rectified 
and/or the example needs to be updated.

-We have a maven project for the DeviceMap resources 
(https://svn.apache.org/repos/asf/incubator/devicemap/trunk/openddr/data/) but 
the Java API cannot load resources from a jar source. I havent looked deeply at 
the code, but this is fixable. If this functionality exists today, please guide 
me in the right direction.

-Make the project "zero configuration", or close to it. I would like to simply 
add 2 dependencies to my POM and then add 5-10 lines of code and be done. I 
think this is possible. The dependencies would be DeviceMap data (resources) 
and the DeviceMap Java API. We could even make a version of the data called 
LATEST which would always pull our latest DDR. This way you get the latest 
devices on every compile (if you choose).

-Streamline the Java API. Once I get the structural changes completed, I would 
like to begin work on maybe making the API a bit more streamlined and more 
accurate. A few ideas have been tossed around for this, so I will leave this as 
the last task. Some of the steps above will accomplish part of this task.

Thoughts?

thanks,
Reza

Reply via email to