Skip to main content

Couple of newbie DB-J questions

1 reply [Last post]
gmoniey
Offline
Joined: 2006-01-27
Points: 0

Hi,

I was hoping someone could clear up some things regarding development on BD-J.

1) Does BD-J sandbox and limit the capabilities of what Java can do? I noticed that it has its own UI framework, but what if someone wanted to throw a swing app on there; obviously not a wise decision from a usability standpoint, but for theory's sake, is this possible? Another example would be to include JMF to play different video formats (i.e. if you wanted to grab an flv off of the internet for bonus features.)

2) Is it possible to install an application onto a blu-ray player from the internet? Or does the user have to insert a disc before a java app can run?

Thanks!

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Bill Foote

bd-j-dev@mobileandembedded.org wrote:
> Hi,
>
> I was hoping someone could clear up some things regarding development on BD-J.
>
> 1) Does BD-J sandbox and limit the capabilities of what Java can do? I noticed that it has its own UI framework, but what if someone wanted to throw a swing app on there; obviously not a wise decision from a usability standpoint, but for theory's sake, is this possible? Another example would be to include JMF to play different video formats (i.e. if you wanted to grab an flv off of the internet for bonus features.)

It's not really the BD-J sandbox that limits this, but the pragmatic
answer to your question is mostly "no, you can't do those things."

You can include whatever application-level libraries written in Java
that you want with your xlet. Thing is, when you say "JMF" I assume
you mean "The JMF product from Sun that runs on PCs and includes a ton
of CODECs". That product includes native code, and you obviously can't
include native code in a BD-J xlet.

Besides that, there are performance and memory limitations. So, while in
theory you could write a FLV decoder in Java, you probably can't write one
that works fast enough on all player, within the memory and code size
constraints imposed on interoperable applications.

> 2) Is it possible to install an application onto a blu-ray player from the internet? Or does the user have to insert a disc before a java app can run?

Yes, and yes, but in the opposite order. That is, yes you do need
to insert a disc to start running a BD-J app. Once you've done that,
the app can download other apps from the internet and install them
on the player. In order to /run/ those installed apps, however, you
need to get the viewer to insert the original disc.

Cheers,

Bill

---------------------------------------------------------------------
To unsubscribe, e-mail: bd-j-dev-unsubscribe@hdcookbook.dev.java.net
For additional commands, e-mail: bd-j-dev-help@hdcookbook.dev.java.net