Visão global: A logging API or library is very important for the development of applications in Java. Actually, log4j is nothing but an API. It is originally based on the Java programming language, though it has been ported to a variety…
Data Compression and Decompression Using Java
Visão global: In any software application, be it client-server or distributed, data transfer is always there. So, the architecture of an application is designed to ease the data transfer process and improve the performance. One simple solution to manage this huge…
Learn serialization mechanism in Java?
Visão global: One of the fundamental strength of Java is its serialization mechanism. This is basically serialization of Java objects, where the object is persisted as a sequence of bytes. The persistent storage can be file system, database or streams. And,…
How to Email using JavaMail API?
Visão global: In any software application, sending and receiving electronic messages, more specifically e-mails are an essential part. Emails are a medium of communication between different parties who are using the application. In most of the standard programming languages, emails APIs…
Creating a Multi-Threaded Server in Java
Visão global: Java is a very versatile programming language. It can be used to create a powerful server easily. You can create a single server or a single client connection by using Java socket APIs. However, in this article, we will…
DOM and SAX Parser in Java
Visão global: Parser is an important component in any programming languages. There are multiple open source parsers available in the market. So, the developer has to select the correct parser as per the requirement. Now, in many situations, correct parser is…
Exploring Enterprise Java Beans – Series II
Introdução: In this EJB II series, our main objective is to take some of the most important features of EJB and answer the related concepts. EJBs are there for a long time in the market, and they are widely used…
Test your knowledge in Enterprise Java Beans
Introdução: In this article, we have taken an initiative to answer some of the frequently asked questions on EJB. Enterprise Java Beans are used widely for different use cases. It can handle the business logic (Session Beans), database entity (Entity…
Teste suas habilidades em Java - Série IV,,en,Habilidades de Codificação Java,,en,Teste seu conhecimento,,en,Esta é outra série de dicas do Java,,en,Nós nos concentramos principalmente na parte de codificação e implementação,,en,Nós discutimos diferentes implementações Java comuns com exemplos de codificação,,en,Você pode testá-lo diretamente criando seu próprio código Java,,en,Espero que isso ajude você a entender as coisas básicas no Java principal,,en,Como converter uma expressão infix para expressão postfix,,en,O exemplo a seguir demonstra como converter uma expressão infix para postfix usando o conceito de stack,,en,Aqui empurrar,,en,pop,,en,e espiada,,en,métodos são usados para executar a tarefa,,en,E a classe Stack é usada para manter as expressões,,en,classe pública InToPost,,en,Particular Stack theStack,,en,entrada de cadeia privada,,en,saída de cadeia privada =,,en,InToPost público,,en,String in,,en,input = in,,en,int stackSize = input.length,,en
Introdução: This is another Java tips series. We have mainly focused on the coding and implementation part. We have discussed different common Java implementations with coding examples. You can test it directly by creating your own Java code. Hope this…
Melhore suas habilidades em Java - Série III,en
Visão global: In this ‘Java Tips’ series, we have mainly worked on the hands-on coding part. The objective of this series is to help you understand the coding part and implementation details. We have tried to cover various topics along with…
10 Dicas Java - Série II,en
Introdução : This is the 2nd part of Java tips series. We have tried to focus more on the hands-on coding part rather that the theoretical one. Hope this will help you learn the concepts and implement them in practical…
10 Java Tips – Series I
How memory is managed in java? In Java manual memory allocation and de-allocation has been eliminated. Memory in Java is automatically garbage collected so you never have to worry about memory corruption. Java memory is managed by the memory model.…
Which Tools Support Java 9’s New Modularity Features?
Visão global: Java 9 was released in late September. With the release of Java 9, it went modular to improve its scalability and performance. Modularity is a general concept. In software, it applies to writing and implementing a program or computing…