サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
ノーベル賞
www.javacodegeeks.com
Want to supercharge your React skills and become a coding master in 2024? Buckle up! This guide will unveil the 4 essential design patterns that will unlock the true power of React and propel your applications to the next level. We’ll break down complex concepts into clear, actionable steps, so you’ll be crafting clean, maintainable, and scalable React projects like a pro in no time. Let’s dive in
Everett GriffithsOctober 27th, 2017Last Updated: October 27th, 2017 For all the buzz about microservices and API gateways, finding specifics can prove surprisingly difficult. I am reminded of the cartoon by Sidney Harris where the first step of a complex mathematical formula is presented, then a miracle occurs, and the sudden appearance of the glorious solution prompts an observer to comment that
Double is often preferred over float in software where precision is important because of the following reasons: Most processors take nearly the same amount of processing time to perform operations on Float and Double. Double offers far more precision in the same amount of computation time. 13. Computation of powerTo compute power (^), java performs Exclusive OR (XOR). In order to compute power, Ja
Null values are treated differently in SQL and in Java. When handling with SQL null values in Java it is good to follow some best practices like avoiding the usage of primitive types, since they cannot be null but converted to their default values like 0 for int, false for booleans, etc. Instead of that, the usage of wrapper classes for the primitive types is recommended. The class ResultSet conta
In the last few month we’ve went through this decision making process: which technology stack to choose for enterprise development on the Java platform? There are various alternatives. However, the ones we’ve discussed intensively were: Pure Java EE 6 Stack vs. Spring with Java EE. The following blog article summarizes key issues I found interesting when you consider one of those technology stack
Mohamed SanaullaJanuary 19th, 2015Last Updated: January 16th, 2015 Lot of times we would have to fetch the data from a database or another webservice or load it from file system. In cases where it involves a network call there would be inherent network latencies, network bandwidth limitations. One of the approaches to overcome this is to have a cache local to the application. If your application s
Java time basicsjava.util.Datejava.util.Date is definitely the most common time-related class. It represents a fixed point in time, expressed as the relative number of milliseconds elapsed since epoch. java.util.Date is time zone independent, except for the toString method which uses a the local time zone for generating a String representation. java.util.CalendarThe java.util.Calendar is both a Da
Alexis LopezNovember 2nd, 2012Last Updated: November 2nd, 2012 Hello all. This is Part 2 of the File Filtering using NIO.2 series. For those of you who haven’t read Part 1, here’s a recap. NIO.2 is a new API for I/O operations included in the JDK since Java 7. With this new API, you can perform the same operations performed with java.io plus a lot of great functionalities such as: Accessing file m
Rafal BorowiecMay 28th, 2014Last Updated: May 28th, 2014 Streams are everywhere in Java 8. Just look around and for sure you will find them. It also applies to java.io.BufferedReader. Parsing a file in Java 8 with Stream API is extremely easy. I have a CSV file that I want to be read. An example below: username;visited jdoe;10 kolorobot;4A contract for my reader is to provide a header as list of s
Java 7 introduced the java.nio.file package to provide comprehensive support for file I/O. Besides a lot of other functionality this package includes the Files class (if you already use this class you can stop reading here). Files contains a lot of static methods that can be used to accomplish common tasks when working with files. Unfortunately it looks to me that still a lot of newer (Java 7+) co
I am currently working on an application which has needs to work offline. This has the beneficial side effect, we use the different HTML5 storage capabilities. One of the is the File API, which we are using to store images locally – before queuing them for upload to a backend server. In this article, I will share some code how we did this. The example works in Google Chrome – for DOM manipulation
There you go once again, while performing a code review or after having justified a quick coding in the name of urgency and priority: it clearly stand in front of you yet another helper class. But everything works fine and the show must go on, release after release, so that helper class soon becomes a monster class, providing tons of static methods, freely growing in its utils package, often a no
📥 Download the Full PDF: Java Interview QuestionsReady to dive deeper and keep a professional reference at your fingertips? Get the complete PDF version of “Java Interview Questions & Answers”— fully formatted, easy to navigate, and perfect for offline study. Whether you’re brushing up before an interview or mentoring others, this minibook is a must-have tool in your developer toolkit. 👉 [Downlo
Alex ZhitnitskySeptember 23rd, 2014Last Updated: September 30th, 2014 Raygun, Stack Hunter, Sentry, Takipi and Airbrake: Modern developer tools to help you crush bugs before bugs crush your app! With the Java ecosystem going forward, web applications serving growing numbers of requests and users’ demand for high performance – comes a new breed of modern development tools. A fast paced environment
Francesco AzzolaNovember 22nd, 2013Last Updated: November 22nd, 2013 In this post, I will describe first how to use Volley to populate dynamically a ListView, and then compare it against AsycnTask. In this post, we will invoke a remote service to get contact information in JSON format, and we populate the items inside a ListView.This simple example is very useful to understand Volley library and h
Francesco AzzolaNovember 19th, 2013Last Updated: November 19th, 2013 In this post, I want to describe how to use a very powerful and easy to use library for Android. This library is called Volley and it can be used to handle networking connection. In previous post, we talked about HttpUrlConnection and Apache HTTP client. They are both valid and useful but using Volley we can simplify our work. Vo
EDITORIAL NOTE: In this post, we feature a comprehensive Java 8 Features Tutorial. It’s been a while since Java 8 is out in the public and everything points to the fact that this is a really major release. We have provided an abundance of tutorials here at Java Code Geeks, like Playing with Java 8 – Lambdas and Concurrency, Java 8 Date Time API Tutorial : LocalDateTime and Abstract Class Versus I
Java 8 was released last month and is just chock-full of new features and behind-the-scenes optimizations. The internet has been doing quite a good job covering all these new additions – both the good and the bad. I thought it’d be good to do a round-up of what we think are some of the best tutorials out there, to help you get you quickly up-to-speed on what’s new and what you need to know. Java 8
There are a tremendous amount of SQL APIs natively written in Scala. Manuel Bernhardt has summarised a nice collection in his a post. Another collection of Scala SQL APIs can be seen in this Stack Overflow question. One API that we want to focus on in particular is ScalikeJDBC (licensed ASL 2.0), which has recently published a SQL query DSL API similar to that of jOOQ. See the full documentation h
Saurab ParakhFebruary 3rd, 2014Last Updated: February 3rd, 2014 The Linux kernel has two primary functions: to control access to physical devices on the computer and to schedule when and how processes interact with these devices. The /proc/ directory — also called the proc file system — contains a hierarchy of special files which represent the current state of the kernel — allowing applications an
Recently a respected member of the Apache community tried Log4j 2 and wrote on Twitter: @TheASF #log4j2 rocks big times! Performance is close to insane ^^ http://t.co/04K6F4Xkaa — Mark Struberg (@struberg) May 7, 2013 (Quote from Mark Struberg: @TheASF #log4j2 rocks big times! Performance is close to insane ^^ http://logging.apache.org/log4j/2.x/ ) It happened shortly after Remko Popma contributed
次のページ
このページを最初にブックマークしてみませんか?
『Java Code Geeks』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く