This article is for those who are looking to install software on your Virtual Box but running low disk space issue. At the same time, you might also feel the need to add disk storage to Oracle VirtualBox by creating a new and larger drive to build the existing drive. Below are the steps to allocate more space by adding a virtual drive to a Virtual Box, The Guest VirtualBox is running the Red Hat Linux 6.7.Adding the Virtual DriveOpen Oracle VM Virtual Box Manager, select the Virtual Box for which you want to add the new disk and click ... Read More
Stack and queue both are data structure to store data in particular order.Stack is linear data structure in which objects are inserted or removed at the same end. Therefore, it is visualized as vertical collection. That is the reason why stack is called Last-in-First-out (LIFO) type of list.Queue is also a linear data structure in which objects are inserted and removed from two different ends.Queue used two pointers to read and write data from both ends. It is a horizontal collection.Sr. No.KeyStackQueue1Basic Stack is linear data structure in which objects are inserted or removed at the same endQueue is also a linear ... Read More
Have you ever faced such situations where two of your subordinates indulged in infighting on most of the matter? Whether taking the work or discussing any important stuff, they always pointed out each other’s mistakes and do not hesitate to complain you on every occasions. And when those resources are vital to the project then those situations can double your worries, isn’t it?Workplace conflicts are common and inevitable as each employee has their own attitude, ideas, and style of working. So while working together often their differences clashes and when that goes beyond the tolerance limit the conflict erupts.Conflicts may ... Read More
Green threads are created and scheduled by Virtual machine without using OS libraries. “Green” was the project code name of the thread project which was developed by the Java, therefore the name of the thread is “Green”. It can not make use of multiprocessor.On the other hand, Native threads are created and scheduled by Kernel of operating system. It can swap between threads from running thread to non-running thread. All modern OS supports native thread. Sr. No.KeyGreen ThreadNative Thread1Basic Green threads are created and scheduled by Virtual machine without using OS librariesNative threads are created and scheduled by Kernel of operating system2Platform Dependent It ... Read More
Save() and persist() both methods are used for saving object in the database. As per docs −Save() − Persist the given transient instance, first assigning a generated identifier. (Or using the current value of the identifier property if the assigned generator is used.) This operation cascades to associated instances if the association is mapped with cascade="save-update".As per docs −persist() − Make a transient instance persistent. This operation cascades to associated instances if the association is mapped with cascade="persist". The semantics of this method are defined by JSR-220. Sr. No.Keysave()persist()1Basic It stores object in databaseIt also stores object in database2Return Type It return generated id and return type is ... Read More
This article we will teach you to schedule a cron job to be executed at a specific time in a day.General Syntax of a Cron JobMIN HOUR Day of month Month Day of Week Command 0-59 0-23 1-31 1-12 0-6 linux command or scriptTo see the list of cron jobs which exists on the machine, run the below command# crontab -u test1 -l no crontab for test1To Add the New Cron Job to Test1 User, run the below Command #crontab -u test1 ... Read More
This article helps you to configure and add a new disk to the Linux box. This is one of the most common problems encountered by system administrators these days since the servers are tending to run out of disk space to store excess data. Fortunately, disk space is now one of the cheapest. We shall look at the steps necessary to configure on Red Hat Enterprise Linux 6. x to add more space by installing the disk.ContentsMounted Filesystems or Logical VolumesGetting StartedFinding the New Hard Drive in RHEL 6Creating Linux PartitionsCreating a Filesystem on an RHEL 6 Disk PartitionMounting a ... Read More
Assignments, projects, homework, exams, in my day, I don’t remember having a wizard or a complete encyclopedia that could give me all answers and suggestions in a second, or even correct my mistakes for meHow has technology changed education today? This has me wondering if I can still enroll in a college and study all over again just to get the feel of how easy it is today.Although I do realize how it isn’t easy per se, but I don’t find the kids today, determined by only what is taught in schools and books, alternative methods of teaching and learning ... Read More
In hibernate, get() and load() are two methods which is used to fetch data for the given identifier. They both belong to Hibernate session class. Get() method return null, If no row is available in the session cache or the database for the given identifier whereas load() method throws object not found exception. Sr. No.KeyGet()Load()1Basic It is used to fetch data from the database for the given identifier It is also used to fetch data from the database for the given identifier 2Null Object It object not found for the given identifier then it will return null object It will throw object not found exception 3Lazy ... Read More
We never think about the complexities involved in the basic things we use daily. However the luxuries we enjoy are just because of the advancement in technologies, and it’s a beautiful thought to try and understand how to use these everyday tech apps to improve your career goals and plans.Adopting and learning new technologies is no more limited to techies, as it has today become a basic necessity for individuals in each and every field. Beginners also realize now that they need to learn and practice new concepts so that they can prove their worth to the recruiting world.Sometimes a ... Read More
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP