How to set EJB JNDI in JBoss 7

1. Put jboss-ejb-client.properties file with following content in the classpath (possibly in src/ location) 2. RemoteEJBClient.java demonstrating the how to access EJB. There are atleast...

How to avoid Null Pointer Exception in Java

Minimize the use of ‘null’ in assignment Try to avoid as much as possible: You can replace this with: Prefer valueOf() over toString() where both...

Mime 404 In Java Web Apps

If you are receiving 404 error in Java web apps, it is possible that your java app server is unable to identify proper mime type...

AppKubos is an independent personal web site of Pujan Srivastava, focusing on advanced IT framework technologies and solutions. The opinions expressed here are entirely the author's opinions and not those of his employer and/or its affiliates. No warranty whatsoever is made that any of the posts are accurate. There is absolutely no assurance (apart from author's professional integrity) that any statement contained in any post is true, correct or precise. Even if a statement made in the post is accurate, it may only be accurate in the context of a specific software release running on specific hardware platform made by a certain vendor.


Pujan's thematic work is in the area of IT involving the application stack protocols. Pujan has 9+ years of experience in design and development of various systems using Java and Java EE. He has knowledge of OOP principles, GoF, Integration and Java EE Design Patterns, OOAD, UML. He is also familiar with Java world trends such as frameworks, libraries and design approaches. He also posses strong Mathematical background, Data Structures and Algorithms.