RSS Forums RSS
Please support our Java advertiser: Lunarpages Java Web Hosting
Views: 1272 | Replies: 4
Reply
Join Date: May 2005
Location: India
Posts: 65
Reputation: vicky_dev is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
vicky_dev's Avatar
vicky_dev vicky_dev is offline Offline
Junior Poster in Training

Question Java for Windows Device drivers??

  #1  
May 20th, 2007
Hi everyone...
I need to build a file browser for a wireless multimedia device for a Windows PC. The objective is to be able to browse contents of the device. The device defines its own protocols for communication. I have divided the whole project into two modules: the browser and the communication layer.

I'm pretty experienced in C/C++, but I'm new to Java. Can you please tell me if it is possible to build the communication layer using Java?( I think I have to build a device driver).

And if I build the browser using Java and the communication layer using C, can the two be interfaced properly?

Thanks in advance...
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Apr 2007
Location: Singapore
Posts: 42
Reputation: lucky1981_iway is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 3
lucky1981_iway's Avatar
lucky1981_iway lucky1981_iway is offline Offline
Light Poster

Re: Java for Windows Device drivers??

  #2  
May 20th, 2007
Communication Layer using Java is not a good idea. Here you have to actually write code in C (if you are actually writing device driver) and defining the functions prototype in Java. (Using JNI). So your both browser and communication layer will be in java. But there wil be performance issues.

The second choice is much better. You can write the communication layer in C easily and browser can rely on that. For interfacing between two, you can use JNI also.
Last edited by lucky1981_iway : May 20th, 2007 at 10:57 pm.
Reply With Quote  
Join Date: May 2005
Location: India
Posts: 65
Reputation: vicky_dev is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
vicky_dev's Avatar
vicky_dev vicky_dev is offline Offline
Junior Poster in Training

Re: Java for Windows Device drivers??

  #3  
May 21st, 2007
Ok, thanks. That was helpful []
Reply With Quote  
Join Date: Jun 2006
Posts: 13
Reputation: mandar-seo is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 0
mandar-seo mandar-seo is offline Offline
Newbie Poster

Re: Java for Windows Device drivers??

  #4  
May 22nd, 2007
I have just started learning Java. But it seems that there is a lot in conjunction with core java. Should I continue or leave my classes in between as I don't think I will be able to learn hell lot of Java things in 6 months time?
Reply With Quote  
Join Date: May 2005
Location: India
Posts: 65
Reputation: vicky_dev is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
vicky_dev's Avatar
vicky_dev vicky_dev is offline Offline
Junior Poster in Training

Re: Java for Windows Device drivers??

  #5  
May 22nd, 2007
Originally Posted by mandar-seo View Post
I have just started learning Java. But it seems that there is a lot in conjunction with core java. Should I continue or leave my classes in between as I don't think I will be able to learn hell lot of Java things in 6 months time?


No buddy, not here... Looks like you're new to this... Create a new thread for your question. Don't reply to an existing thread and ask a question there.

And here I was anticipating a reply
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 4:45 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC