MySQL,Use command line Or GUI tools [closed] - java

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
I am a java programmer for 2 years.
My programs usually uses a database (mysql) (Java SE).
Should i use classically command line environment or use GUI tools, mysql administrator for example?
Is it necessary to be a database administrator? Or not?
I want to be a java programmer.
Sorry for this question!

Use of GUI tools, IDE's is very common in IT industry also makes life easier as they have very good features to detect bad usage of the programming language, bad syntaxis, illegal uses of the language and pretty cool stuff as refactor options just to said one of them.
I encourage for people that are starting or want to achieve an IT certification (SCJP) not use in their training lesson, sometimes people know the error only because IDE's is complaining about something and does not really know what is the root cause, so remove GUI or IDE will help you a lot in really know the root cause of the problems and give you really good troubleshooting skills.
Talking about SQL language, although you want to become java programmer, SQL need to be one of your skills, I'm strongly suggest learn it without use of GUI or SQL creators, also is not bad to know by memory some really most frequently used commands and know the solutions just using command line. I know a lot of people in IT that does not how to create an insert statement in sql and its variants as they always use MySQL to add records.

Related

How do I make my jvm project not have huge paths? [closed]

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 5 years ago.
Improve this question
For some reason, I absolutely HAVE to use paths like src/main/kotlin/com/martmists/... etc, why can I not just use src/...? This annoyance is the only thing keeping me from studying jvm languages, and I have yet to find a way to simplify these paths.
Look, I just created a Kotlin project with the default settings:
There were no forces compelling me to create the structure you describe.
Neither long package names, nor the src/main/kotlin/ structure are mandatory, but you'll fight an uphill battle if you avoid them. The reason is that JVM languages target large-scale projects, where organization into meaningful subunits (packages), as well as the division between production code and test code, is beneficial and not detrimental to its success.
In some other languages you get a cozy feeling of a lightweight start, but as your project grows towards 10,000 lines of code and beyond, you realize that you've been reinventing this structure all along to keep you afloat.
I can attest from personal experience that the IDEs take away most/all the pain of dealing with nested directory structures and allow your project to scale up gracefully, with no need to reinvent best practices.
On the other hand, if your use case for a programming language is writing one or two screenfuls of script code, then the JVM ecosystem is probably not a good fit for you.

Java: SQL and Statistics/Machine Learning [closed]

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 have a question for you concerning Java. I am basically a Java user and did most of my work with it. However, in the machine learning classes I took in college, we used mostly python with the scikit-learn and numpy packages.
Now I want to do a project where I crawl data from the web, store it in SQL databases, and then do machine learning on this data. Maybe some of you have experience with those things and share some of it? I mean, of course it is possible to do these things with java, but maybe you have had some particular experiences on why I should use something else or what to consider?
I am happy for all your thoughts :-)
Have a great weekend!
It turns out that programming language and database implementation are secondary problems. Think first about the machine learning you want to do. Review the existing packages (in any language) and pick one according to how well it fits the needs of the business problem you are trying to solve. Then work with whatever language is most convenient for that package. You will probably find that no single language is suitable for all parts of the problem; you will end up gluing together Java, Python, R, shell scripts, etc, to make a complete solution, and there's nothing wrong with that. Consider that your job is problem solving instead of programming in a specific language and go from there.

As a student with basic understanding on Java can I switch to Android? [closed]

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 8 years ago.
Improve this question
My friend says I should pick up the Android App Development for Dummies and I'll be fine, just learn as I go [http://www.amazon.com/Android-Application-Development-For-Dummies/dp/1118387104/ref=pd_sim_b_3?ie=UTF8&refRID=15GHNG7MTDPPEX6JFEC5 ]
I don't want to waste time learning any concepts related to web development/GUI with Java and want to learn Android instead, but I feel concerned with my lack of comprehensive knowledge on Java so I would like an answer from a broader community of Android/Java developers.
For context; I've already learned:
OOP Concept, Variables, Methods, Classes, Objects, Constructors,
Interfaces, Abstract Classes, Control Structures i.e. loops and
branches
I have NOT learned:
ArrayLists,
Threading,
Map / Hash,
GUI / Swings, etc
What do you guys think?
My personal opinion is that if you switch to Android too early, that might slow down your progress. Programming Java on a PC is more transparent, and it is still easier to find solutions to common issues regarding it on the internet. ArrayLists, multithreading and HashMaps are very basic and necessary tools, you will not go far without them, and it will be faster to learn them first on PC and then more painlessly and quickly switch to Android, in my opinion.
Of course you can.
Sometimes even a simplest application needs more that you have right now,
but while knowing a little more you can build simple applications
and you will need to learn a lot about Android itself.
http://developer.android.com is an excellent place to start.
Yes,you can.But I would suggest you to learn a bit about basics of GUI and some other java concepts and then move onto android.It wont take long.But even without learning it,with much more effort you can move onto it.You can take help from these reference websites:
http://www.vogella.com/tutorials/Android/article.html
http://developer.android.com
Books:
Hello Android
Professional Android 4 Application Development

is is necessary to learn java for hadoop? [closed]

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 9 years ago.
Improve this question
I wanted to start learning the big data technology from the scratch. I wanted to know is it necessary to learn java for operating with hadoop as i am already well versed in python?
No, you don't necessarily need java knowledge, as you can write map-reduce jobs perfectly well in pig or hive (similar to SQL). However, as with all layers of abstraction, at some point you may well need to know what is going on "behind the scenes" and being able to look, understand and debug the underlying java is a big advantage.
There is a lot of effort currently going into providing a more complete SQL interface to hadoop, with tools such as Impala (Cloudera), Presto (Facebook), Phoenix and Hive (already mentioned).
Check out MRJob, a python based wrapped for hadoop jobs running, logging and monitoring.
Although pure java solutions might be faster in some cases, you hardly ever will need to debug java code.
Not needed at all , though thats just my opinion. if you python well you should be fine.
check this out writing a hadoop map reduce in python. theres a lot of ways to implement solutions with hadoop. Just because a great deal of them are in Java doesnt mean java is the only tool to solve use . If your working with legacy that is written in java then knowing the basics may help but to be honest i think you could just reference things as you come across them. There is no need to spend a week learning the intricacies of Java 7 and whats new in Java 8 for your current needs.

Switching from .NET to Java? [closed]

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
For the past few years, I've been working on a team that does .NET and SQL Server. I'll soon be joining a team that is Java and Oracle. What can I read/do to get up-to-speed.
Start here: http://java.sun.com/javase/6/docs/
Sun's documentation is pretty good.
See also:
Hidden Features of Java
Best Java Book you have Read So Far
Overriding Equals and Hashcode in Java
What is the Most Freequent Concurrency Problem You've Encountered in Java
Javapassion is a site that offers free courses on Java. If you are on a hurry, there are 1 to 5 days courses available. You should have no problem following it, if you have experience in Java.
There are many good books for Java, but Thinking in Java is free and is good both for getting started and using as a reference.
If you need conversion of things from one language to the other here is a great website:
http://www.25hoursaday.com/CsharpVsJava.html
This, similar, SO Thread might be helpful.
Josh Bloch's Effective Java is a fantastic book. If you want to learn modern Java idioms there are few better places to look at.
Be prepared to do a lot of reading. C# (assuming this was the language you have been using)is generally regarded as an improved Java, so the Java basics will not be hard to grasp. Java development tools are generally not as tightly integrated as the Microsoft stack, thus allowing for choices to be made. Lots of discussions in Javaland revolve around choosing tools.
Get to know something about the way Java packages things (jar, war, ear).
Learn about the classpath (an endless source of joy and grief).
Build a mental picture of how things work at compile time and run time (generics and type erasure, for instance).
Visit the JavaRanch (http://www.javaranch.com/) and test your Java knowledge with the Rules Roundup! Think of it as a certification mock exam, but with cows. ("No cows were harmed in the making of Rules Roundup.")

Categories