A
t some point somebody a lot smarter than me (probably the first person who reads this) will see the title of this article and say “No duh! JavaScript and Java are completely different. What a waste of an article!”. You can actually find quite a bit of information on this topic out on the internet but let’s face it, anybody who isn’t in IT or Development probably doesn’t care anyway.
Since both of these technologies are used in Service-now though, this confusion often presents itself so it is good to be informed. First of all, you don’t need to know a thing about Java (or even care about it) to be successful in the administration, implementation, or configuration of Service-now.com. No Java NecessaryYou don’t need to know a thing about Java to be successful in the administration, implementation, or configuration of Service-now.com.You heard correctly. YOU DO NOT NEED TO KNOW JAVA! This statement runs contrary to what you might hear from your boss, project manager, or even a Service-now developer or consultant job posting. The underlying code that the Service-now.com platform is built on is built using the Java programming language. Even the title ‘Service-now Developer’ is probably a little bit excessive unless you are one of the people working in the Development group in Solana Beach. Those people know (and are required to know) Java extremely well and they use it (along with JavaScript) to bring us the awesome features that are part of the Service-now software platform. Having said all of that, it certainly doesn’t hurt to have some knowledge of Java simply because that gives you an understanding of programming and scripting in general.
JavaScript on the other hand is the world that Service-now administrators and consultants live in. Business Rules, Client Scripts, and UI Actions are all written in JavaScript. JavaScript is the scripting language used to perform HTML manipulations in the browser (client-side g_form, etc.) and interact with the actual Java code on the back-end (server-side gs., current., etc.). I don’t think it’s too much of a stretch to say that to configure or enhance a mid to large sized Service-now deployment it is essential that you have someone who has a decent amount of knowledge about JavaScript or some other scripting language. At the very minimum they need to be someone who can pick up on it quickly.
Lots of very smart people have already written about the differences between Java and JavaScript. If you’d like to learn more I’ll refer you to your preferred search engine. Here are a couple of results I found today on Google.
http://kb.mozillazine.org/JavaScript_is_not_Java
http://www.ericgiguere.com/articles/javascript-is-not-java.html
Comments
Posted On
Feb 06, 2010Posted By
Roger DingusI’m an new admin at a new Service-now customer. We are just getting started. I have a programming and technical background so I pick on related things quickly. I do not have experience with any scripting language. What do you recommend as the fastest way for me to learn to be proficient enough with javascript as an admin?
Posted On
Feb 11, 2010Posted By
Mark StangerHey Roger. Sorry for the delay in getting back to you on this. My day job takes precedence so sometimes I’m not able to reply as quickly as I’d like.
. I think this is an excellent question though and I’m planning on writing a full article on this topic. Until then, I’d recommend this site as a great JavaScript resource.
http://www.w3schools.com/js/default.asp
Posted On
Jan 05, 2011Posted By
valorI would note, however, once you get into super advanced stuff with Service-Now, it is helpful to at least have an undertstanding of the basics of Java, like how “classical” programming languages work, and what “classical” means. Tip: it’s not music, or necessarily old.
You will see in references in various parts of the system like:
Posted On
Feb 02, 2012Posted By
saiHi Mark,
There was an opening for ServiceNow developer offered to us by our client, at first it was a System Administration then it became ServiceNow Developer which is requiring Java Programming. i was wondering because it runs contrary to your posting here, Are we going to perform actual Java Programming in our clients ServiceNow platform or just be limited with JavaScripting.
More Power!
Posted On
Feb 02, 2012Posted By
Mark StangerI haven’t written a single line of Java in 5 years of working with ServiceNow. It’s helpful to understand from a coding standpoint, but is definitely not a requirement. JavaScript, on the other hand, is a critical skill of a good ServiceNow admin.
Posted On
Feb 03, 2012Posted By
saiThat’s a relief, thanks a lot!