BUG Community

Welcome! Log In

Forums BUG SDK SQL and Java 3d

Subscribe to SQL and Java 3d  9 posts, 4 voices

Log in to reply to this topic
Oct 2, 2007 5:11pm
Img_missing_medium digital1 32 posts

Hey I was wondering if there is support for Java3D. I wanted to use some pretty basic interactive 3d elements in my application if possible. Also is there SQL support, and if there is how can we build this with our apps? Thanks!

Oct 3, 2007 12:00am
Medium Bug Labs team mcholerton 54 posts

Hey digital1 – good question! 3D would be cool. I’ll tap the guys on the shoulder and have them get back to you soon.

Oct 3, 2007 10:57am
Medium Bug Labs team kgilmer 215 posts

I just got tapped.


We currently do not have any support for Java3D or SQL in the Virtual BUG, simply because we haven't gotten to it yet. The BUG hardware has support for advanced graphics but we haven't made any decisions on default 3D support.

Regarding SQL support Apache Derby is distributable as an OSGi bundle and will probably work quite nicely on the Virtual BUG. In general I'd say that OSGi and/or JDBC is your best bet here.

Pure Java

Derby technology is written in Java to take advantage of Java

- http://db.apache.org/derby/derby_charter.html
Oct 3, 2007 11:07am
Img_missing_medium digital1 32 posts

I know what direction to take with my bug now. Thanks for the response! :) One more quick question. Are there any default XML parsers that are used in Java that can be used? If so can you name the legal classes we can use. :) Sorry about the questions. :-)


Oct 3, 2007 11:15am
Medium Bug Labs team kgilmer 215 posts


Keep the questions coming! We want all the feedback we can get. Regarding XML we internally use a very (very) simple xml parser/DOM that we wrote. It has no schema validation or namespace support but does have a simple XPath query engine. This parser is located at com.buglabs.common bundle in the com.buglabs.common.util package.

If you’re looking for something more full featured you can add an XML service bundle to the Virtual BUG (Here is a link to an API - http://help.eclipse.org/help31/index.jsp?topic=/org.eclipse.platform.doc.isv/reference/osgi/org/osgi/util/xml/package-summary.html) or just bundle whatever XML library jar in your bundle. FlickrUppr uses Xerces in this fashion.

You may also want to see what the OSGi bundle repository (http://help.eclipse.org/help31/index.jsp?topic=/org.eclipse.platform.doc.isv/reference/osgi/org/osgi/util/xml/package-summary.html) has to offer. Note that we use an R3 OSGi implementation so any bundles that require R4 (the latest version is R4.1) functionality may not work.

Oct 3, 2007 11:24am
Img_missing_medium digital1 32 posts

Thanks for the response! I used an XML parser for an app I wrote back in college a few months back and that thing was horribly buggy. It was unstable to use with Eclipse. I will look at the libraries that you guys are using. Thanks again! I don’t feel bad asking questions now. I have some other questions. I will create a general topic so that its more useful. Thanks again!

Oct 3, 2007 11:43am
Medium Bug Labs team kgilmer 215 posts

Great! I’ve added a section to the FAQ for this issue in general here: http://bugbeta.com/wiki/index.php/FAQ#How_do_I_….28SQL.2C_XML.2C_SOAP.2C_Jini.2C_etc..29_functionality_to_the_Virtual_BUG.3F

Oct 3, 2007 1:12pm
Medium Bug Labs team