Java Support...

Java Support...

Hi All, I want to submit my Java app "MyUniPortal" a rich client gui with web services back end for video and mapping but do not see support for Java. I also use Java Web Start for install/updates and not sure if Intel can support that also. Any ideas? Seems like Intel wanted developers like myself to be a part of the store so I am willing I just need Intel's help. Thanks, Tony Anecito Founder, MyUniPortal http://www.myuniportal.com
20 帖子 / 0 全新
最新文章
如需更全面地了解编译器优化,请参阅优化注意事项
BrianDevArch的头像

Tony,

At this time Intel only supports standard C++ application on the Windows platform. Please check this page for supported programming language announcements: http://appdeveloper.intel.com/en-us/develop

That being said, many developers (myself included) have created wrapper components for their preferred development languages. Intel seems to support us pushing the envelope, and if your wrapper is written well it will pass the validation process. You will want to read the Validation and Packaging Guideline documents thoroughly to ensure your application will pass:

http://appdeveloper.intel.com/en-us/article/validation-guidelines

http://appdeveloper.intel.com/en-us/article/packaging-requirements

Most of the wrapper talk you will see is centered around .NET however their are applications written in other languages which have made it into the AppUp client. I encourage you to ask questions and share you trials and triumphs. Here are a few wrapper posts of interest:

http://appdeveloper.intel.com/en-us/blog/2009/12/09/building-net-applications-app-store

http://appdeveloper.intel.com/en-us/node/1549

Hi Brian,

Been on vacation so just got back and wanted to say thank you for the prompt response. I will read the articles. I am hoping to just have a url wrapped thinly in the MSI? I have to use Java Web Start for deployment and my server is already setup to go. I do push the envelope as you may have seen from my screenshots. My deployment model allows for control over major/minor upgrades and multiple OS's and native dll deployment.

I will keep you and the forum updated on my progress.

Many Thanks,
Tony Anecito
Founder,
MyUniPortal
http://www.myuniportal.com

Hi Brian,

Just an FYI i left a message for the packaging group regarding usage of java and java web start. The links you gave helped a bit and tonight I will look at some MSI tools. If you have any suggestions on an free MSI tool that would be great even better if it works for java apps.

Many Thanks,
Tony Anecito
Founder,
MyUniPortal
http://www.myuniportal.com

BrianDevArch的头像

Tony,

Many of the Java developers I have talked to seem to prefer Advanced Installer:

http://www.advancedinstaller.com/java.html

I have also confirmed that C++/C# applications package3d with Advanced Installer have passed the validation process and made it into the AppUp client successfully. Please keep us posted on your Java efforts, best of luck.

Hi Tony:

AppUp will handle the install/update if you follow the packaging guidelines that Brian gave you. We use MSI format which will likely replace your java web start portion since you mentioned JWS is used for install/update in your application.

Also, there is a higher chance for passing validation if you include JRE from either OpenJDK or Apache Harmony (assuming that those Java VM works with your application).

Thanks

--vincent

Thanks all for the responses. I will look more into the suggestions before I submit. Right now I am using Oracle/Sun JVM since it is tested using that and the libraries I use also have been tested using that jvm. To get third party support I have to stay with that jvm. I suspect in the future when version 7 is available I will get better support from the library groups I use. I am also using web services stack which is tested/supported for the Oracle/Sun jvm.

In regards to packaging I have to have an update model that does incremental updates for bug fixes for the customer. Another reason to use Java Web Start but I am looking at OSGI for updates another deployment solution that is starting to become main stream for java. So if Intel's solution covers the use case of incremental updates and works for Java I am really interested in it.

Regards,
Tony Anecito
Founder,
MyUniPortal
http://www.myuniportal.com

BrianDevArch的头像

Tony,

You are on the cutting edge, and you efforts will undoubtedly help developers and Intel alike. Thanks again.

Hi Brian,

With the toolkit I was able to create an MSI that works from my PC so many thanks for the help. I still have a bit of testing to do such as JRE install if there is no jre what will the MSI do? I suspect I have to embed the Oracle/Sun jre. That is an area packaging does not cover at all. Also, same for security certificates required by Java. As I mentioned to the packaging team the certificates are associated with the site the download occurs from so unless Intel supplies the certificate like Apple does there may be legal issues. Simple solution is to use a launcher file to get the jars from the site the certificate is for then legally everything is okay.
I am working on meeting the stated packaging requirements mainly icons and the like. For example the toolkit requires a .ico file and I have a png as required by Oracle for splash screens and shortcuts. Minor differences that can be worked out.

So yes I am leading edge but these are common issues for Java app deployment. Each app store simply has different requirements.

Best Regards,
Tony Anecito
Founder,
MyUniPortal
http://www.myuniportal.com

BrianDevArch的头像

Tony,

You are correct, and since the AppUp store is in Beta it is constantly evolving. Pushing the envelope is a great catalyst to affect change in the program.

I will add that your MSI must be completely silent and provide all libraries required by your application. In your case, you will need to include the correct JRE in a way in which the user is not prompted.

Many developers who have DirectX as a dependency have also worked out that it is not necessary to uninstall DirectX when your app is uninstalled. The primary reason being that DirectX has the propensity to become a shared resource. I believe the same may hold true for your JRE. Once you have beta tested your completed MSI, the validation team will provide excellent feedback should your application fail. Please let me know if i can assist you in any way.

Thanks Brian. Adding all the jars is easy with the tool I just need to update my release directory with the uncompressed jars. I use pack200 compression and apparently the MSI tool and downloading it via MSI will not work I found that out early this morning. The pack200 compression can compact jars by another 300 % sometimes I have discovered. The java web start deployment model supports this but MSI does not.
Also, from previous deployment experience java web start supports the concept of native jars whereas I suspect MSI does not. What that means is the developers have to rewrite their code to conform to a specific install format so the java code can find the native jars which MSI I would suspect support this capability but I have not seen yet on the tool. Does not mean it is not supported by the MSI tool just that I need to spend some more time with the tool.

Regards,
Tony Anecito
Founder,
MyUniPortal
http://www.myuniportal.com

BrianDevArch的头像

Great details. If you need any assistance beta testing in the future I am more than happy to assist. I have a wide variety of test virtual machines.

Hi Brian,

Is it true Intel does not allow for the Sun jre to be bundled with the MSI? If so this is a huge issue for java developers and may prevent me from going further. I am the one submitting the MSI not Intel so not sure why this might be a show stopper.

Thanks,
-Tony

BrianDevArch的头像

Tony,

To my knowledge Intel does not forbid any particular runtime/library/dependency.

That being said, Java is not a supported language at this time and Java will be relatively new to the validation team. You will want to ensure that what you submit adheres to the Validation Guidelines and Packaging Guidelines. Should your submission fail the first time, they will reply with details on what exactly failed.

When I developed some of my applications using WPF (.NET) I knew i was taking a risk that my applications may not pass. Thankfully with slight modification (thanks to the validation teams details when my apps failed at first), I was able to have them successfully validated.

You are at the forefront, leading the way for other Java developers to come down this path :)

Thanks for the reply. I will see what happens when I submit. I may be going into more detail than others need. I worked with Sun on submitting to their Java Store and they were very specific about the things I mentioned thus my comments. So before I get to far I needed to bring up a few items Sun really was specific about for their store. Since the java support is still new here I decided to bring it up before too late in the process.

And yes I was very advanced even for Sun. They had me meet with them to discuss improvements in the store/process because of what they saw I did.

Best Regards,
Tony Anecito
Founder,
MyUniPortal
http://www.myuniportal.com

BrianDevArch的头像

Great to hear, looking forward to seeing your applications in AppUp.

Hi Tony,

I petty much doubt on Java App getting validated by Intel because I tried submitting an app under the open source category which doesn't even need to interegrate the SDK.

The validation response was "App couldn't be published as its JAVA"

If you have any success please let me know.

Also you may get some update from Bakno as they have wrapper developer for Java runtime.

Khan

Hi Kahn,

Thanks for the warning. Right now I have been busy with enhancement requests and regression testing so have not gotten back to this effort.

Seems odd that Intel would respond that way since they were trying to encourage java developers to submit apps.

Also sad is the fact my users only reply with how cool my app is that I hope to submit and are dropping use of apps like Google Maps because they say just that one feature I provide is so much better than Google. They also say the video capability is really cool and that is from video experts. I just updated the app to support youtube HD which for java is a first.

Regards,
Tony Anecito
Founder,
MyUniPortal
http://www.myuniportal.com

BrianDevArch的头像

Just a quick note, all interested in additional supported programming languages should keep an eye on IDF (coming up in September). Intel keeps releasing enhancements to this opportunity, so keep your finger on the pulse:

http://appdeveloper.intel.com/en-us/develop

Thanks Brian for the link.

When I can I will get back to this process of submission. Since I am very leading edge anyway with my solution it does not hurt to give the process a leading edge test :-)

Besides, the packaging group needs some excitement and the store something quite different to sell.

Thanks,
Tony

登陆并发表评论。