Översikt: JSP has a special feature which introduces the concept of filters. The work of these filters is to intercept any request en route to the JSP or the Java servlet. It can also modify to update the response of…
Exception Handling Using Struts 2
Översikt: Exceptions are a part of all types of processing both in software and hardware applications. Though most of the exceptions are identified and addressed there may be exceptions that are unidentified and not interpreted. Struts 2 provides effective ways…
Creating RESTful web service in Java
Overview RESTful web services have changed how roles such as developers and system integrators work. Developers needed a service that allows systems to exchange information seamlessly; is extensible, scalable and easily maintainable. The Representational State Transfer or REST approach is…
Learn Log4j – Logging API for Java
Översikt: 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
Översikt: 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?
Översikt: 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?
Översikt: 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
Översikt: 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
Översikt: 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…
Utforska Enterprise Java Beans - Serie II,en
Inledning: I denna EJB II-serien,,en,Vårt huvudmål är att ta några av EJB: s viktigaste egenskaper och svara på de relaterade begreppen,,en,EJBs finns länge på marknaden,,en,och de används ofta,,en,Vi har tagit initiativ till att svara på några av de vanliga frågorna om EJB,,en,Enterprise Java-bönor används ofta för olika användningsfall,,en,Det kan hantera affärslogiken,,en,Session Beans,,en,databasenhet,,en,Entitet,,en,Det här är en annan Java-tipsserie,,en,Vi har huvudsakligen fokuserat på kodnings- och implementeringsdelen,,en,Vi har diskuterat olika vanliga Java-implementeringar med kodande exempel,,en,Du kan testa det direkt genom att skapa din egen Java-kod,,en,Hoppas detta,,en,I denna "Java Tips" -serien,,en,Vi har huvudsakligen arbetat med den praktiska kodningsdelen,,en, 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
Inledning: 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…
Test your Java skills – Series IV
Inledning: 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…
Improve Your Java Skills – Series III
Översikt: In this ‘Java Tips’ series, we have mainly worked on the hands-on coding part. Syftet med denna serie är att hjälpa dig att förstå kodningsdelen och implementeringsdetaljerna,,en,Vi har försökt att täcka olika ämnen tillsammans med,,en,Detta är den andra delen av Java-tipsserien,,en,Vi har försökt att fokusera mer på den praktiska kodningsdelen snarare än den teoretiska,,en,Hoppas det här hjälper dig att lära dig begreppen och genomföra dem i praktiken,,en,Java-minne hanteras av minnesmodellen.,,en,Det sker inte utan processer som gör att du kan lära dig om dina kunder och kommunicera enkelt,,en. We have tried to cover various topics along with…