Search
Stack Connect
Click Fall
- 5,270 hits
Me!
Vineet Verma
Developer/Blogger/Gamer/Lazy Couch Potato...:P Need PDF Books: Knowledge Base
Tags
- ADF
- ADF Utils
- AF:Drag
- Algorithms
- Ant
- application
- Calendar
- Certification
- Classes
- Code
- Code Eval Solution
- Composer
- css
- csv
- Date Overlap
- DOM
- Drag and Drop
- Dumps
- EMAIL VALIDATION
- Error Handling
- Exam
- GIT
- HTTPS
- In Clause
- Installation
- Interview
- Java
- JavaScript
- JAXB
- JBO Logger
- jQuery
- js
- JSF
- LDAP
- Logging
- Managed Bean
- MongoDB
- number padding
- OpenCart
- Open Source
- Oracle
- Oracle ADF
- Oracle Service Bus
- Oracle SQL
- Oracle WebCenter Portal
- Oracle WebLogic Server
- OSB
- PHP
- PHPMailer
- PL/SQL
- Popup
- Portal
- Portal Builder
- Programmatic
- Programmatic View Object
- Puzzles
- Python
- repository
- Scopes
- Search
- Server
- sorting
- SQL
- Strings
- submodule
- Util
- Utils
- View Criteria
- Web Center
- WebCenter
- Weblogic
- Weblogic Server
- Web Service
- WebServices
Topic Cloud
AJAX Best Practices Clear Case Client Side Programming CSS Design Pattern Hibernate HTML Interview Puzzles J2EE Java JavaScript JDBC jQuery JSP Oracle Oracle ADF Oracle PL/SQL Oracle SQL PHP Server Side Programming Spring Struts Struts 2 Uncategorized VB script WebCenter Portal Weblogic Web Services WSDLFB Page
Tag Archives: Java
When and how much to mix technologies for a project?
The main idea behind using a technology is to harness the power of code re-usability and libraries that have already been worked on and trusted to be working and functional with minimal or no issues. The term “Technology” does not … Continue reading
Posted in Oracle, Oracle ADF, Oracle SQL, OSB, Weblogic
Tagged AngularJS, C, CMS, css, IDM, Java, jQuery, Oracle ADF, PHP, Selection, Technology
Leave a comment
Util Method to get all attributes printed in System.out.println()
This small util override is to allow developers to view all instance variable values as a CSV format in Java. It is similar to the one seen as var_dump in PHP: @Override public String toString() { Field[] fields = this.getClass().getDeclaredFields(); … Continue reading
How to Left pad Zeros to integer to get String in Java
The below is the code as to how to add 0 Padding to the left of an integer to format it to string: import java.text.DecimalFormat; public String padZeros(int i) { DecimalFormat df = new DecimalFormat(“00”); return df.format(start); } Change the … Continue reading
How to do an LDAP Search of Various fields
Requirement: retrieving various values such as Description, Office, etc. from LDAP after authentication. An LDAP client retrieves attribute values (referred to as “fields” in the question) by transmitting a search request to the server and then reading the server’s response. A … Continue reading
Email Validation
CHALLENGE DESCRIPTION: You are given several strings that may/may not be valid emails. You should write a regular expression that determines if the email id is a valid email id or not. You may assume all characters are from the … Continue reading
Swaps letters’ case in a sentence. All non-letter characters should remain the same.
INPUT SAMPLE: Your program should accept as its first argument a path to a filename. Input example is the following Hello world! JavaScript language 1.8 A letter OUTPUT SAMPLE: hELLO WORLD! jAVAsCRIPT LANGUAGE 1.8 a LETTER Solution import java.io.BufferedReader; import … Continue reading
How to check if 2 Date Ranges Overlap in Java
Code to check if 2 date ranges overlap each other or not. /** * @return boolean true in case the date ranges overlap. */ boolean isOverLaped(Date start1,Date end1,Date start2,Date end2) throws NullPointerException{ if ((start1.before(start2) && end1.after(start2)) || (start1.before(end2) && end1.after(end2)) … Continue reading