Hi all, I'm working on a linux machine and I'd like to show via web services architecture some informations collected via linux shell acting with command like top, or ps.
My aim is to expose via web services informations of some processes that are running on my machine and these informations are available only via shell commands.
Now: how can I do this in Java? Is Java yhe best choice?
1. Learn how to act as a client (in a client/server setup) to get to a web service.
2. Get the information out of the returned web service call.
3. Learn how to code console output.
4. Use 3 to print the information from 2.
Why is common sense not common?
Never argue with an idiot. They will drag you down to their level where they are an expert.
Sometimes it takes a lot of work to be lazy
Please stand in front of my pistol, smile and wait for the flash - JSOP 2012
First you need to learn the basics of the language.. There are many of tutorials available but you might like to take a look at this online resource:
There is also the offical site:
The most important aspect when learning how to code in a programming language easily, quickly and effectively is writing the code YOURSELF, testing it and just play around with it by experimenting with changing the values and amongst other things.
My name is Azeem and i'm a student of computer sciences.
i need help about my project.
i am developing an application using optical character recognition (OCR) for android system Mobiles.
i have some difficulty in choosing tools for this.
what are the best tool for developing Android application.?
i want to know is Java suitable for OCR or C# is best for OCR ?
Can we convert the java program is Android Application ?
or can we convert the C# program is Android Application ?
I don't know what greenfoot is. It may be a project you're developing, or it may be another project altogether. This is not relevant at this point. What is relevant, however, is:
- You didn't seem to read the FAQs for posting questions in these forums. Here, let me help you. Read here[^] and then here[^]
- You didn't seem to have made any previous effort to solve this yourself. If you do try to solve this and run into problems, then you are more then welcome to post a question, mentioning the details of your specific problem and where you ran into problems.
Taking this into consideration, your question is downvoted and reported. Have a nice day!
Full-fledged Java/.NET lover, full-fledged PHP hater.
Full-fledged Google/Microsoft lover, full-fledged Apple hater.
Full-fledged Skype lover, full-fledged YM hater.
Aren't we supposed to run packet sniffers across the entire intarweb to find the problem?
Panic, Chaos, Destruction. My work here is done.
Drink. Get drunk. Fall over - P O'H
OK, I will win to day or my name isn't Ethel Crudacre! - DDEthel Crudacre
I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer
Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett
It may be necessary to configure such an old version of SQL Server to use TCPIP. By default, it uses named pipes only, doesn't it?
And do not forget to configure the firewalls of both client and server.
What is the EXACT error?
What is the EXACT line that is occurs on?
Typically failure to connect, which many of the other responses refer to, will either result in a "Connection refused" or a connection timeout. Neither of those is suggested by your post.
If you are in fact initiating a connection then one possible reason could be a failure in the protocol because you are using a newer driver. But with the garbled error message it could be nothing more than incorrect credentials.
hi everybody, can share me some test for join job with JAVA language. i near levear school for work. but i don't know about company give a test. like multi language progam.. link project http://www.mediafire.com/?56dth97hh0m3wtw[^]
What Richard linked is the best way to start because knowing the basic language elements is a must. Another thing you will be tested for is problem solving skills with Object Oriented Design. The latter needs practicing. You will also have to know some basic java SE libraries (not all but some of them) that you can learn from the linked tutorial. If you are very good at the previous things then you can get some SCJP (newly OCJP) exam material (there exist other more advanced level exam materials) and you can start mastering the java language basics, learning the language elements on a higher level but this isn't necessary.
You are being tested for your effective knowledge, if you know how to program in java then you can easily pass those stupid tests. This is not a quiz game, you have to learn programming in java and not to compete on a quiz game. You cant fool the system, at least you wouldn't be able to trick me on an interview by learning stupid answers to stupid questions. I can find out a trillion stupid questions that you can answer easily if you know how to code in java but you fail miserably if you learnt answers just to 1000 stupid quiz questions. Go and learn the tutorial, and then write at least 10-20 usable programs that solve some real world-like problems (not hello world category). For example saving/retrieving schedule to/from database in a user friendly way (with graphic user interface), or an amoeba game, etc.... If you can do things like that then you can be a useful for a software company, otherwise not.
EDIT: Getting a reasonably good level of knowledge takes at least months depending on how good you are in programming in general. If you think that you can learn this in a few days like you can do with a university exam then you will be disappointed. It will take at least weeks to get a grasp of it to catch a junior position even if you are already good in programming and object oriented design in another language.
Thats true, but if you like programming and you know how to do it well then its not a big deal and sooner or later you find a job. He will compete with a lot of fresh graduates I guess, most of them having nearly zero experience with only a few talented armed with professional calling. Big companies usually need beginners but my opinion is that those positions are only about robot work. If someone doesn't like programming, he kills himself with this kind of job and leaves sooner or later (or gets fired). The mentioned robot work is also something that needs working knowledge of a programming languages with a few of its libraries...
Agree, thats definitely about passion. On the other hand I think that almost every good programmers I met were coders even before the university. I think its rare to see a coder who learnt the mastery at the university, still a few of them falls in love with the stuff that late. Some coders do the job just for the money, and they usually do terrible work. Everything's fine until one gets into a lead position. :-P