Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I have project and It's the first time I work on web app .
my project have two part one on my pc and one page on web server .
I have to connect from web page to my pc to get information .
what is language should I learn for this project.
my experiences
C++,java,python
my platform
Linux
Any of C++, Java and Python will do for communication between your computer and a server. Beyond that, these "best language" questions are usually unanswerable. Any language should be capable of doing the task. It's only at the level of very specific requirements that you might be able to give an argument that one language is better for the task. On top of that, different people prefer different languages, and there's little point in arguing about their personal taste.
In short, use what you like.
For building the web page, of course, you will probably need to know some HTML, CSS and possibly javascript.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I am not a Java pro. I need to enable my completed java applications to ONLINE-Versions. Kindly give me the simplest way.
I have tried to go the JSP and Servlet way, but seems exceedingly tiresome,there surely ought to be a direct way.
When you use a typical web application what do you think is happening? You're in a browser and it's displaying some pages. You click around and some server does some work, for example Amazon shows you a list of books you could buy, the server is passing data to the browser for it to display.
That's a big difference from your current Java Application where everything is happening in the same computer.
This split between the UI part of the application, in the Browser, and the server part that's doing the real business is one reason why Web programming is so different from simple Java programming.
Servlets and JSPs are the traditional Java way of doing things, but modern web apps make much greater use of JavaScript for all the UI and all the Java (or any other server technology) does is provide the data displayed by JavaScript.
Bottom line: Sorry, but there is a whole lot more to learn. My recommendation would be to grit your teeth and forget about what you've done so far and start studying JavaScript and HTML.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I'm a student who work part-time at a start-up, which runs a website made with JSP.
We are planning an android app in this summer and I'm considering developing it with Python, which I'm interested in.
However, the service provided by the app is supposed to be added to the website made with JSP later. I'm afraid the difference of the language would cause any obstacle.
Since they will use a common database, I think using different languages to access it won't have any problem. I want to make sure that my guess is correct.
Pardon my poor English. I'd appreciate your answers.
I would recommend building the API services in the current language used by your start-up. If resources are limited, the company may not wish to maintain services in another language.
Though I would not recommend this, it is definitely possible for you to develop the portions of your Android application in Python and use a different language for the API services (assuming you are willing to use Python libraries like Kivy).
This will allow you to code a chunk of your application logic in Python.
To consider:
http://kivy.org/#home
https://code.google.com/p/android-scripting/
We are planning an android app in this summer and I'm considering
developing it with Python
Native Android apps are developed using Java.
However, the service provided by the app is supposed to be added to
the website made with JSP later. I'm afraid the difference of the
language would cause any obstacle.
You will need to create an API that communicates between Android and your database.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
Is it possible to write enterprise web applications in PHP as it is in Java (with Java EE stack of technologies)? I know just a bit of PHP and I've always seen it like a request-process-response programming/scripting language with no objects staying alive on the server (like #Stateful ejbs) after the script has finished its execution.
To put it in another way: can the same web application be implemented in Java and in PHP? Or is one of the two languages more powerful than the other?
Edit: let me clarify my question: I already know Java and have some experience in enterprise web applications. I want to know if PHP is equally powerful (in language structure, in today available frameworks, and so forth) to make the same complex applications that can be done in Java.
Not more powerful in the sense that you could write something in Java that would be impossible to replicate in PHP. I'm not familiar with PHP, but there's most likely similar frameworks and libraries that have been created for PHP that exist already in Java (such as an ORM framework like JPA).
Stateful EJBs aren't that special (and not that common either). You can readily store information in the session whether you're using Java or PHP.
This isn't really a suitable question for SO either, since programming languages are different and frameworks are different and you'll never find the "best" something, because that doesn't really exist.
Solution: learn both.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
As i am working in government project and they are telling us to be use Java Applet for their website like lots of bank website uses for login. Is this a good idea to use Java Applet? As we have lots of good framework like JSF, Struts ,Zk etc. Still Applet give us advantage in any context if yes please let me know.
applets will give you a java UI inside a browser, but they are crippled for security reasons and also most of the java security vulnerabilities discovered are usually around the applet area.
using java web-start will give you a web-launched (from clickable link) full-blown java application with less security restrictions and less security vulnerabilities to be worried about, while not requiring anything special on user's machines (you need java installed on users machines for both applets and web-start to work).
so, in my opinion, web-start simply makes applets obsolete.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I am creating a Java web app that is meant for use by Facebook users.
The web app is planned to be hosted on Amazon EC2- now I want to find out how many users can be supported by one server. So that I have a better idea of the costs involved.
Can you tell me how to determine this, for a java + gwt web app?
Since programming products are complicated and contain many layers theoretical estimation of application performance is hard and even probably impossible. Each layer can be a bottle neck and it is hard to expect which one.
So, the only way is to perform experimental bench-marking you your specific application deployed on specific environment.
There are a lot of tolls both commercial and free. I'd start from some kind of benchmarking with JMeter. It is open source, easily extendable and very popular product for performance testing.