Oracle, MySQL, Cassandra, Hadoop Database Training Classes in Lansing, Michigan
Learn Oracle, MySQL, Cassandra, Hadoop Database in Lansing, Michigan and surrounding areas via our hands-on, expert led courses. All of our classes either are offered on an onsite, online or public instructor led basis. Here is a list of our current Oracle, MySQL, Cassandra, Hadoop Database related training offerings in Lansing, Michigan: Oracle, MySQL, Cassandra, Hadoop Database Training
Oracle, MySQL, Cassandra, Hadoop Database Training Catalog
subcategories
Cassandra Classes
Hadoop Classes
Linux Unix Classes
Microsoft Development Classes
MySQL Classes
Oracle Classes
SQL Server Classes
Course Directory [training on all levels]
- .NET Classes
- Agile/Scrum Classes
- AI Classes
- Ajax Classes
- Android and iPhone Programming Classes
- Blaze Advisor Classes
- C Programming Classes
- C# Programming Classes
- C++ Programming Classes
- Cisco Classes
- Cloud Classes
- CompTIA Classes
- Crystal Reports Classes
- Design Patterns Classes
- DevOps Classes
- Foundations of Web Design & Web Authoring Classes
- Git, Jira, Wicket, Gradle, Tableau Classes
- IBM Classes
- Java Programming Classes
- JBoss Administration Classes
- JUnit, TDD, CPTC, Web Penetration Classes
- Linux Unix Classes
- Machine Learning Classes
- Microsoft Classes
- Microsoft Development Classes
- Microsoft SQL Server Classes
- Microsoft Team Foundation Server Classes
- Microsoft Windows Server Classes
- Oracle, MySQL, Cassandra, Hadoop Database Classes
- Perl Programming Classes
- Python Programming Classes
- Ruby Programming Classes
- Security Classes
- SharePoint Classes
- SOA Classes
- Tcl, Awk, Bash, Shell Classes
- UML Classes
- VMWare Classes
- Web Development Classes
- Web Services Classes
- Weblogic Administration Classes
- XML Classes
- RHCSA EXAM PREP
17 November, 2025 - 21 November, 2025 - Linux Fundaments GL120
22 September, 2025 - 26 September, 2025 - Object-Oriented Programming in C# Rev. 6.1
17 November, 2025 - 21 November, 2025 - OpenShift Fundamentals
6 October, 2025 - 8 October, 2025 - Introduction to Spring 6, Spring Boot 3, and Spring REST
15 December, 2025 - 19 December, 2025 - See our complete public course listing
Blog Entries publications that: entertain, make you think, offer insight
I will begin our blog on Java Tutorial with an incredibly important aspect of java development: memory management. The importance of this topic should not be minimized as an application's performance and footprint size are at stake.
From the outset, the Java Virtual Machine (JVM) manages memory via a mechanism known as Garbage Collection (GC). The Garbage collector
- Manages the heap memory. All obects are stored on the heap; therefore, all objects are managed. The keyword, new, allocates the requisite memory to instantiate an object and places the newly allocated memory on the heap. This object is marked as live until it is no longer being reference.
- Deallocates or reclaims those objects that are no longer being referened.
- Traditionally, employs a Mark and Sweep algorithm. In the mark phase, the collector identifies which objects are still alive. The sweep phase identifies objects that are no longer alive.
- Deallocates the memory of objects that are not marked as live.
- Is automatically run by the JVM and not explicitely called by the Java developer. Unlike languages such as C++, the Java developer has no explict control over memory management.
- Does not manage the stack. Local primitive types and local object references are not managed by the GC.
So if the Java developer has no control over memory management, why even worry about the GC? It turns out that memory management is an integral part of an application's performance, all things being equal. The more memory that is required for the application to run, the greater the likelihood that computational efficiency suffers. To that end, the developer has to take into account the amount of memory being allocated when writing code. This translates into the amount of heap memory being consumed.
Memory is split into two types: stack and heap. Stack memory is memory set aside for a thread of execution e.g. a function. When a function is called, a block of memory is reserved for those variables local to the function, provided that they are either a type of Java primitive or an object reference. Upon runtime completion of the function call, the reserved memory block is now available for the next thread of execution. Heap memory, on the otherhand, is dynamically allocated. That is, there is no set pattern for allocating or deallocating this memory. Therefore, keeping track or managing this type of memory is a complicated process. In Java, such memory is allocated when instantiating an object:
String s = new String(); // new operator being employed String m = "A String"; /* object instantiated by the JVM and then being set to a value. The JVM calls the new operator */
I suspect that many of you are familiar with the term "hard coding a value" whereby the age of an individual or their location is written into the condition (or action) of a business rule (in this case) as shown below:
if customer.age > 21 and customer.city == 'denver'
then ...
Such coding practices are perfectly expectable provided that the conditional values, age and city, never change. They become entirely unacceptable if a need for different values could be anticipated. A classic example of where this practice occurred that caused considerable heartache in the IT industry was the Y2K issue where dates were updated using only the last 2 digits of a four digit number because the first 2 digits were hard-coded to 19 i.e. 1998, 1999. All was well provided that the date did not advance to a time beyond the 1900’s since no one could be certain of what would happen when the millennia arrived (2000). A considerably amount of work (albeit boring) and money, approximately $200 billion, went into revising systems by way of software rewrites and computer chip replacements in order to thwart any detrimental outcomes. It is obvious how a simple change or an assumption can have sweeping consequences.
You may wonder what Y2K has to do with Business Rule Management Systems (BRMS). Well, what if we considered rules themselves to be hard-coded. If we were to write 100s of rules in Java, .NET or whatever language that only worked for a given scenario or assumption, would that not constitute hard-coded logic? By hard-coded, we obviously mean compiled. For example, if a credit card company has a variety of bonus campaigns, each with their own unique list of rules that may change within a week’s time, what would be the most effective way of writing software to deal with these responsibilities?
It is said that spoken languages shape thoughts by their inclusion and exclusion of concepts, and by structuring them in different ways. Similarly, programming languages shape solutions by making some tasks easier and others less aesthetic. Using F# instead of C# reshapes software projects in ways that prefer certain development styles and outcomes, changing what is possible and how it is achieved.
F# is a functional language from Microsoft's research division. While once relegated to the land of impractical academia, the principles espoused by functional programming are beginning to garner mainstream appeal.
As its name implies, functions are first-class citizens in functional programming. Blocks of code can be stored in variables, passed to other functions, and infinitely composed into higher-order functions, encouraging cleaner abstractions and easier testing. While it has long been possible to store and pass code, F#'s clean syntax for higher-order functions encourages them as a solution to any problem seeking an abstraction.
F# also encourages immutability. Instead of maintaining state in variables, functional programming with F# models programs as a series of functions converting inputs to outputs. While this introduces complications for those used to imperative styles, the benefits of immutability mesh well with many current developments best practices.
For instance, if functions are pure, handling only immutable data and exhibiting no side effects, then testing is vastly simplified. It is very easy to test that a specific block of code always returns the same value given the same inputs, and by modeling code as a series of immutable functions, it becomes possible to gain a deep and highly precise set of guarantees that software will behave exactly as written.
Further, if execution flow is exclusively a matter of routing function inputs to outputs, then concurrency is vastly simplified. By shifting away from mutable state to immutable functions, the need for locks and semaphores is vastly reduced if not entirely eliminated, and multi-processor development is almost effortless in many cases.
Type inference is another powerful feature of many functional languages. It is often unnecessary to specify argument and return types, since any modern compiler can infer them automatically. F# brings this feature to most areas of the language, making F# feel less like a statically-typed language and more like Ruby or Python. F# also eliminates noise like braces, explicit returns, and other bits of ceremony that make languages feel cumbersome.
Functional programming with F# makes it possible to write concise, easily testable code that is simpler to parallelize and reason about. However, strict functional styles often require imperative developers to learn new ways of thinking that are not as intuitive. Fortunately, F# makes it possible to incrementally change habits over time. Thanks to its hybrid object-oriented and functional nature, and its clean interoperability with the .net platform, F# developers can gradually shift to a more functional mindset while still using the algorithms and libraries with which they are most familiar.
Related F# Resources:
In programming, memory leaks are a common issue, and it occurs when a computer uses memory but does not give it back to the operating system. Experienced programmers have the ability to diagnose a leak based on the symptoms. Some believe every undesired increase in memory usage is a memory leak, but this is not an accurate representation of a leak. Certain leaks only run for a short time and are virtually undetectable.
Memory Leak Consequences
Applications that suffer severe memory leaks will eventually exceed the memory resulting in a severe slowdown or a termination of the application.
How to Protect Code from Memory Leaks?
Preventing memory leaks in the first place is more convenient than trying to locate the leak later. To do this, you can use defensive programming techniques such as smart pointers for C++. A smart pointer is safer than a raw pointer because it provides augmented behavior that raw pointers do not have. This includes garbage collection and checking for nulls.
If you are going to use a raw pointer, avoid operations that are dangerous for specific contexts. This means pointer arithmetic and pointer copying. Smart pointers use a reference count for the object being referred to. Once the reference count reaches zero, the excess goes into garbage collection. The most commonly used smart pointer is shared_ptr from the TR1 extensions of the C++ standard library.
Static Analysis
The second approach to memory leaks is referred to as static analysis and attempts to detect errors in your source-code. CodeSonar is one of the effective tools for detection. It provides checkers for the Power of Ten coding rules, and it is especially competent at procedural analysis. However, some might find it lagging for bigger code bases.
How to Handle a Memory Leak
For some memory leaks, the only solution is to read through the code to find and correct the error. Another one of the common approaches to C++ is to use RAII, which an acronym for Resource Acquisition Is Initialization. This approach means associating scoped objects using the acquired resources, which automatically releases the resources when the objects are no longer within scope. RAII has the advantage of knowing when objects exist and when they do not. This gives it a distinct advantage over garbage collection. Regardless, RAII is not always recommended because some situations require ordinary pointers to manage raw memory and increase performance. Use it with caution.
The Most Serious Leaks
Urgency of a leak depends on the situation, and where the leak has occurred in the operating system. Additionally, it becomes more urgent if the leak occurs where the memory is limited such as in embedded systems and portable devices.
To protect code from memory leaks, people have to stay vigilant and avoid codes that could result in a leak. Memory leaks continue until someone turns the system off, which makes the memory available again, but the slow process of a leak can eventually prejudice a machine that normally runs correctly.
Related:
Tech Life in Michigan
Company Name | City | Industry | Secondary Industry |
---|---|---|---|
Lear Corporation | Southfield | Manufacturing | Automobiles, Boats and Motor Vehicles |
TRW Automotive Holdings Corp. | Livonia | Manufacturing | Automobiles, Boats and Motor Vehicles |
Spartan Stores, Inc. | Byron Center | Retail | Grocery and Specialty Food Stores |
Steelcase Inc. | Grand Rapids | Manufacturing | Furniture Manufacturing |
Valassis Communications, Inc. | Livonia | Business Services | Advertising, Marketing and PR |
Autoliv, Inc. | Auburn Hills | Manufacturing | Automobiles, Boats and Motor Vehicles |
Cooper-Standard Automotive Group | Novi | Manufacturing | Automobiles, Boats and Motor Vehicles |
Penske Automotive Group, Inc. | Bloomfield Hills | Retail | Automobile Dealers |
Con-Way Inc. | Ann Arbor | Transportation and Storage | Freight Hauling (Rail and Truck) |
Meritor, Inc. | Troy | Manufacturing | Automobiles, Boats and Motor Vehicles |
Visteon Corporation | Van Buren Twp | Manufacturing | Automobiles, Boats and Motor Vehicles |
Affinia Group, Inc. | Ann Arbor | Manufacturing | Automobiles, Boats and Motor Vehicles |
Perrigo Company | Allegan | Healthcare, Pharmaceuticals and Biotech | Pharmaceuticals |
BorgWarner Inc. | Auburn Hills | Manufacturing | Automobiles, Boats and Motor Vehicles |
Auto-Owners Insurance | Lansing | Financial Services | Insurance and Risk Management |
DTE Energy Company | Detroit | Energy and Utilities | Gas and Electric Utilities |
Whirlpool Corporation | Benton Harbor | Manufacturing | Tools, Hardware and Light Machinery |
Herman Miller, Inc. | Zeeland | Manufacturing | Furniture Manufacturing |
Universal Forest Products | Grand Rapids | Manufacturing | Furniture Manufacturing |
Masco Corporation Inc. | Taylor | Manufacturing | Concrete, Glass, and Building Materials |
PULTEGROUP, INC. | Bloomfield Hills | Real Estate and Construction | Real Estate & Construction Other |
CMS Energy Corporation | Jackson | Energy and Utilities | Energy and Utilities Other |
Stryker Corporation | Portage | Healthcare, Pharmaceuticals and Biotech | Medical Devices |
General Motors Company (GM) | Detroit | Manufacturing | Automobiles, Boats and Motor Vehicles |
Kellogg Company | Battle Creek | Manufacturing | Food and Dairy Product Manufacturing and Packaging |
The Dow Chemical Company | Midland | Manufacturing | Chemicals and Petrochemicals |
Kelly Services, Inc. | Troy | Business Services | HR and Recruiting Services |
Ford Motor Company | Dearborn | Manufacturing | Automobiles, Boats and Motor Vehicles |
training details locations, tags and why hsg
The Hartmann Software Group understands these issues and addresses them and others during any training engagement. Although no IT educational institution can guarantee career or application development success, HSG can get you closer to your goals at a far faster rate than self paced learning and, arguably, than the competition. Here are the reasons why we are so successful at teaching:
- Learn from the experts.
- We have provided software development and other IT related training to many major corporations in Michigan since 2002.
- Our educators have years of consulting and training experience; moreover, we require each trainer to have cross-discipline expertise i.e. be Java and .NET experts so that you get a broad understanding of how industry wide experts work and think.
- Discover tips and tricks about Oracle, MySQL, Cassandra, Hadoop Database programming
- Get your questions answered by easy to follow, organized Oracle, MySQL, Cassandra, Hadoop Database experts
- Get up to speed with vital Oracle, MySQL, Cassandra, Hadoop Database programming tools
- Save on travel expenses by learning right from your desk or home office. Enroll in an online instructor led class. Nearly all of our classes are offered in this way.
- Prepare to hit the ground running for a new job or a new position
- See the big picture and have the instructor fill in the gaps
- We teach with sophisticated learning tools and provide excellent supporting course material
- Books and course material are provided in advance
- Get a book of your choice from the HSG Store as a gift from us when you register for a class
- Gain a lot of practical skills in a short amount of time
- We teach what we know…software
- We care…