Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to display the mode of the application?  RSS feed

 
Skip Jack
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to display the mode of the application, say, whether it is working in Development or QA server using java.?
I am stuck at this part. If the application is working in development server, it has to display DV and if it is in QA server, it has to display QA.
I tried to put the info about the server in a an xml file & tried to access the values using ResourceManager.getInstance(null).get().But it returned null.
Can anybody out there can help me???
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!