I have been tasked with creating an application for a company to store current customers, assign agents to them and work out distances between prospective customers and current customers, for use at trade shows when a new company comes to us to place an order. I have started on this already, but ensuring components do not overlap is boring and kinda tedious.
I would like to write it as a web application, since I am getting really good at .net (VB). However the application is required to work offline. This means the company must install Visual Web Developer or Visual Studio in order to run the application. The company does not what to have to do this and to have to start VWD / VS every time they want to run the application.
So my plan is to make a Java app which creates an "internal server" (such as the one created when you run an app from VWD / VS) and then loads a locally stored VB.Net page in a web browser. The reason for this is that the browser does all the laying out for me, and I am good at data-oriented websites with .net in any case.
Can anyone tell me how to set up the server or point me to a good resource / tutorial to teach me how to do this?
You don't need Visual Web Developer or Visual Studio to run the application. The web server that Visual Studio uses for debugging is called Cassini, but you don't need that to run the production version of your application. What you want to do is actually host your ASP.NET application in Internet Information Services (IIS) right on your Windows machine.
You can read through some resources on setting this up in IIS 7 on MSDN: http://msdn.microsoft.com/en-us/library/ms178477.aspx. Or, if you're using an older version of Windows / IIS, there is a good tutorial on IIS 5/6 here: http://www.beansoftware.com/ASP.NET-Tutorials/Set-Up-IIS-ASP.NET.aspx
Related
I recently finished an eclipse-made dynamic web project. It works completely fine on my computer via tomcat/localhost, but I would like to have use of it from anywhere via my phone, and not just in my browser on PC.
I've been googling around and found auth0 but from what I read this only works on applications that use html/css/javaScript exclusively.
My project in question uses jsp/servlets/java classes / tomcat/MySQL and is built in traditional MVC format .
Is there anyway I can gain access to the app from my phone? Either through converting it to a phone app, or linking to it somehow through my phone.
Any assistance is appreciated, somewhat learning disjointed on my own as I go and I know more about the code than final deployment procedure and accessing what I built / giving access to someone.
I was searching for an answer to this question but i found only google app engine (I am not saying it is not working with that but i could not make it yet using GAE). So to be more clear: I want to make some portfolio of my applications on some of my websites.
So everything i want to do is to upload somehow normal Java applications to make them run for the people visiting my website.
The problem is that applications are not applets nor web applications and they are all made in NetBeans IDE 7.3.1. I ve already tried GAE guest book and it is working but i have no clue how to continue (i created an application but how to upload it there? some tutorials are saying to deploy it using GAE but this option is not there after left clicking on the project).
Thank you for any answer!
Use Java Web Start. This let users run your Java application from your website. However, they need to have Java installed on their computers.
i need to develop in java an application that accesses local resources, mainly a webcam, and possibly a wacom bamboo pen tablet. It should take pictures and notes and then post them to a web server.
The ways i can think of are:
use applets
use some kind of standalone app created via JavaFx (or swing or similar)
Which way would you go about it? Are applets considered a viable/secure way to achieve this?
Thanks
I would go the standalone app route. I always turn Java off in my browsers because I can never remember which specific version has security bugs.
If you build it as a desktop app I think you could quite easily convert it to be an applet later on if you wanted.
Can I run Java applications (Java Web Start) on iPad?
Looks like this is not possible, but someone suggested using Cloud Browse (an application I couldn't' find) to run Java.
Any solutions?
UPDATE: Cloud Browser is an application that was available on the App Store but it was removed my Apple. Cloud Browse would process the web site externally and then stream the web site content to your iPad screen (something like video streaming).
No, you cannot run Java programs on the iPad (or any iOS device). Apple's license terms forbid running applications that can execute code downloaded from the Internet (which is what Java Web Start is all about).
No, as staffan said, Webstart will not work. However using CloudBrowse, an applet can work. It looks like the idea behind Cloud Browse is that the browser gets rendered on the server and video of the web page get streamed to your phone. This way, it appears to the user that applets or flash are running on the ipad.
I tried CloudBrowse on my IPAD as I've got a Java Applet that runs inside a brower and wanted it to work on my Ipad.
I found that it works pretty well. The Java Applet has a 3D animation, it's not as smooth as running on Windows/Mac through a normal web-browser, but it's pretty good.
I paid for full version, wasn't that expensive and to me, worth it. Opens up the power of using Applets but within Ipad!
Check it out here ... 3D sailing replay.
I have read the Blackberry documentation and it is possible to push a notification from a webapp. I am planning to create a Blackberry application that compliments to our webapps. But I am still left in the middle whether to develop a webapp or native Blackberry app. I have also look at how a webapp runs on Blackberry browser and it looks smooth.
From your experience does the native app offer something that the webapp doesn't? Bonus question, is Facebook and Twitter app on Blackberry a native app or a webapp? If it is a webapp, is it possible to make a launcher for the application on Blackberry?
Thanks for your help.
Facebook and Twitter are on both types. The web apps are just a website formatted for a small screen so anything you do in say asp.net will show on a blackberry web app if you program it to. The native app just feels like part of my phone. You can save data on the phone so if your app is a relating to news or something that would be stored I can read it offline or slow connectivity (camping, rural areas, etc...). It can also interact with other feature that blackberry offers such as contacts, email, media player, etc...
If you would like to save anything for the user to view without pinging the internet a native app would be preferred.
It's possible to create a launcher but I haven't created one so I'm not sure of the details. I would assume it's just an app that opens the browser to your URL.
One more thing about a web app would be if your application stores users settings (twitter auth key, etc...) they would need to be stored on your server and not the users phone adding more expense and maintenance.
Good Luck.
Widget is not supported for device software less than 5 , you combine both of web and native development by using browser field ,but you need to consider that its Java Script support is poor
Let's not forget that the blackberry browser is really bad as well. I don't know any BB users who would want to use a web application because of that.
When it comes to native apps, you have some choice however and you are not restricted to java (depending on which OS version you want to target). In addition to the mentioned Java, you can use Widget (link for resources) that behaves like a native app, but can be accessed like a web app.
I was just at innoTech and they had a whole session on this topic. But instead of recaping it let me just post the funny video they showed at the end which sums it all up.
Mobile Dev Rap Battle: Native Code vs. Web Apps