Skip to main content

Posts

Showing posts from March, 2017

Java Vs Nodejs

In the history of computing, 1995 was a crazy time. First Java appeared, then close on its heels came JavaScript. The names made them seem like conjoined twins newly detached, but they couldn't be more different. One of them compiled and statically typed; the other interpreted and dynamically typed. That's only the beginning of the technical differences between these two wildly distinct languages that have since shifted onto a collision course of sorts, thanks to Node.js. If you’re old enough to have been around back then, you might remember Java’s early, epic peak. It left the labs, and its hype meter pinned. Everyone saw it as a revolution that would stop at nothing less than a total takeover of computing. That prediction ended up being  only partially correct . Today, Java dominates Android phones, enterprise computing, and some embedded worlds like Blu-ray disks. [ Get the low-down on the best JavaScript code tools with our review of JavaScript editors  and  JavaScrip...

Java Vs Nodejs

In the history of computing, 1995 was a crazy time. First Java appeared, then close on its heels came JavaScript. The names made them seem like conjoined twins newly detached, but they couldn't be more different. One of them compiled and statically typed; the other interpreted and dynamically typed. That's only the beginning of the technical differences between these two wildly distinct languages that have since shifted onto a collision course of sorts, thanks to Node.js. If you’re old enough to have been around back then, you might remember Java’s early, epic peak. It left the labs, and its hype meter pinned. Everyone saw it as a revolution that would stop at nothing less than a total takeover of computing. That prediction ended up being  only partially correct . Today, Java dominates Android phones, enterprise computing, and some embedded worlds like Blu-ray disks. [ Get the low-down on the best JavaScript code tools with our review of JavaScript editors  and  JavaScrip...

Summary of differences between Java versions?

Java 8 (a.k.a 1.8) JSR 337 ,  what's new Language changes: lambda expressions  ( JSR 335 , includes method handles) continuation of Project Coin (small language improvements) annotations on Java types Library changes: Improved Date and Time API Java 7 (a.k.a 1.7) JSR 336 ,  features and enhancements Language changes: Project Coin (small changes) switch  on Strings try-with-resources diamond operator Library changes: new abstracted file-system API (NIO.2)  (with support for virtual filesystems) improved concurrency libraries elliptic curve encryption more incremental upgrades Platform changes: support for dynamic languages Java 6 (a.k.a 1.6) JSR 270 .  features and enhancements Mostly incremental improvements to existing libraries, no new language features (except for  the  @Override  snafu ). Java 5 (a.k.a 1.5) JSR 176 ,  features and enhancements Language Changes: generics  (that's the big one) annotations enum  types varargs,...

Summary of differences between Java versions

The  bold parts  are what really brought the language forward as a whole. As you see, not every release has bold parts. Java 8 (a.k.a 1.8) JSR 337 ,  what's new Language changes: lambda expressions  ( JSR 335 , includes method handles) continuation of Project Coin (small language improvements) annotations on Java types Library changes: Improved Date and Time API Java 7 (a.k.a 1.7) JSR 336 ,  features and enhancements Language changes: Project Coin (small changes) switch  on Strings try-with-resources diamond operator Library changes: new abstracted file-system API (NIO.2)  (with support for virtual filesystems) improved concurrency libraries elliptic curve encryption more incremental upgrades Platform changes: support for dynamic languages Java 6 (a.k.a 1.6) JSR 270 .  features and enhancements Mostly incremental improvements to existing libraries, no new language features (except for  the  @Override  snafu ). Java 5 (a.k.a 1.5) JSR...

ORA-00240 control file enqueue held for more than XXX seconds

ORA-00240 control file enqueue held for more than XXX seconds Description: control file enqueue held for more than string seconds Cause  1 :-  The current process did not release the control file enqueue within the maximum allowed time. Cause  2:-  The issue was  investigated in unpublished Bug 7570453 - [3 RAC NODE]ORA-00240                       WHEN STARTUP AFTER UPGRADE TO 10.2.0.4.0 which was closed as Not a Bug.The                    Developers confirmed that this is just a warning to let the DBA know that a CF enqueue is                 being held for more than 120 seconds. This is not an error, and error will occur if a CF enqueue is held for more than 900 seconds (15 minutes) and this is not the case here. The message occurs when there are many datafiles in the database and  DBWriter  is taking too m...

How to create users in oracle Database ?

I have seen one Post on facebook in Oracle DB group that someone is asking, How to create user in oracle database. I know it's very silly question but it happens if you are new to Oracle. So I am only writing this post for those people how do not want to study the books.  So here are the steps to create user in Oracle database. Theses steps will be same in 10g,11g and 12c. I will discuss two scenarios here :- create simple user  create user with attributes  Create simple user Step1 :- You can connect to database with sysdba privileges.        e.g.  sql > conn / as sysdba  Step2:- After connecting to sysdba, you need to use “CREATE USER” command to create new user. “ALTER USER”  is used to modify the properties of the users like password, profile etc. Please note that users name should be unique. You cannot create user wit the same name.      e.g.  sql >  create user test identified by test; Step 3:- With ab...

What is JAVA ?

Java was originally developed by Sun Microsystems which and was initiated by James Gosling and released in 1995 as core component . The latest version of the Java Standard Edition is Java SE 8. With the widespread popularity, multiple configurations were built to suit for various types of platforms. e.g.: J2EE for Enterprise Applications, J2ME for Mobile Applications. There is new J2 versions were renamed as Java SE, Java EE, and Java ME respectively. As we know Java is guaranteed to be  Write Once, Run Anywhere :). So what is java?  Java is a Technology :) Below are the features −  Object Oriented  − For Java and in JAVA everything is an Object. So ItJ can be easily extended because it is based on the Object model. Platform Independent (WOW)  − SO like many other programming languages like C and C++, when Java is compiled, it is not compiled into platform specific machine That's why its called Platform independent language, It is compiled into platform independ...