text: How will you provide security to your J2EE project?
  - Jan 28th, 2018
  Implement OWASP security standards.
  Provide Token implementation,
  Direct URL interceptor,
  Antisamy etc.
  Roni
  - Oct 4th, 2012
  Security roles can be applied at application level by either declarative method or programatically. Users or Groups are binded during application deployment by administrator.
  Restrict
  Can we declare class as protected?
  What is the scope for this class?
  Read Best Answer
  Editorial / Best Answerdipl. ing. Dan
  - Member Since Mar-2006 | Mar 24th, 2006
  Some people might get confused by the many posts. The correct answer to the question "can we declare class as protected?" is YES, BUT only as an inner class. A 'normal' class cannot be protected or private.
  // 'Normal' class - only default or public allowed
  public class ProtectedOrNot {
  // Inner class - public, default, protected, private allowed
  protected class InnerClass {
  }
  public static void main(String[] args) {
  }
  }
  vishal
  - Sep 21st, 2017
  We cannot declare primary classes as protected for primary classes only "public","final","abstract" are allowed. But point to be noted you can declare inner classes as protected. ...
  Srinu
  - Jul 8th, 2017
  We cannot declare class as protected and private it gives compile time error.
  Illegal modifier for the class TestClass; only public, abstract & final are permitted
  Why pointer concept not use in java?
  vishal
  - Sep 21st, 2017
  Pointers are such kind of data types who holds the Memory address of another variable. Use of pointer may leads in security violation. Pointers works on memory addresses directly and we cannot apply s....
  What is the difference b/w java & Javax files?
  Lakshmi Prasanna
  - Aug 30th, 2017
  java.* packages are the core Java language packages, meaning that programmers using the Java language had to use them in order to make any worthwhile use of the java language. javax.* packages are o...
  amreenkhader
  - Jan 20th, 2012
  Java is the extension of C++ language and javax files are those where it stores the entire program for execution in the form of files and termed as javax files
  Can we declare class as private?what will happen if we declare like that?
  Srinu
  - Jul 8th, 2017
  Java class cant be private it throws compile time exception.
  Illegal modifier for the class TestClass; only public, abstract & final are permitted
  jay
  - Dec 6th, 2015
  Child class will not be able to inherit it. Design pattern in multiple JVM
  How can we implement Singleton Design pattern in multiple JVM environment? How we will make sure to be an object in multiple JVM?
  Rajesh Kumar
  - Apr 10th, 2017
  Not sure about the tool, but if we have to do it, then we can use some clustered cache( jboss cache) and save the singleton instance in it. In your singleton code, always check for the instance in t...
  tester
  - Mar 29th, 2012
  You cannot do that. project architecture
  How to explain project architecture?
  Pradeep
  - Apr 8th, 2015
  Project architecture is very high level design of the project describing the components of the project and their interaction.
  J2EE Interview Questions
  Sub Category
  Questions
  Answers
  Last Updated
  589
  3649
  Oct 8th, 2020
  249
  621
  Jan 3rd, 2017
  52
  194
  Mar 5th, 2018
  2120
  3905
  Nov 7th, 2020
  79
  273
  Jul 15th, 2020
  21
  61
  Feb 15th, 2012
  76
  165
  Nov 7th, 2020
  149
  491
  Nov 7th, 2020
  17
  47
  Oct 2nd, 2011
  398
  1005
  Aug 20th, 2020
  38
  250
  Jan 23rd, 2018
  22
  47
  Aug 29th, 2017
  178
  860
  Apr 5th, 2018
  8
  24
  Jun 21st, 2016
  179
  816
  Dec 28th, 2017
  268
  568
  Aug 12th, 2018
  Ans