Mohamed Omar
-
Join 8 other subscribers
Blog Stats
- 93,711 hits
Hours & Info
-
Recent Posts
- (JAI vs. ImageIO)
- Abstract Factory Design Pattern
- Authentication
- Basic
- Command Line Arguments
- conn
- content
- convert file from windows to linux
- DataSource
- display child pages title
- DriverManager
- eclipse
- excerpt of current parent page at wordpress
- export
- Factory Design Pattern
- federated search
- Form-based authentication
- get recent post in category in worpress
- How do I remove the title of an embedded sheet?
- How do you add a new joomla module position
- how login to ssh
- How to find and replace in mysql
- how to make application Listener
- How To send Email with attachment in java with spring
- How To Unzip Large File With Java
- How to use ContextLoaderListener
- idm
- java
- Java ClassLoader
- JDBC
- JNDI
- JPA Tuturial
- jquery
- JSP
- JSTL
- learn
- linux
- Map
- move directory in Java
- nodemanager
- OAM
- ODC
- oid
- OIM
- oracle
- oracle Access Manager
- oracle identity and access management
- oracle identity manager
- PooledConnection
- preparedstatement
- records
- regex
- Remove CRLF
- remove title from embedded google spreedsheet
- resultset
- schedule tasks by java
- Security constraints
- Spring
- Spring framework without XML
- static int
- Timer by java
- tutorial
- UCM
- unzip
- URM
- View technologies
- web.xml
- Web Application Deployment Descriptors
- webcenter content
- weblogic
- Widgetize wordpress
- WordPress Custom Post Types Guide
- WordPress Theme: Log In On The Front Page
- WP-Ecommerce
- Write Multiple Images Tiff File
Archives
- October 2017
- August 2017
- January 2015
- December 2014
- September 2014
- August 2014
- June 2014
- January 2014
- December 2013
- November 2013
- September 2013
- August 2013
- June 2013
- May 2013
- April 2013
- March 2013
- December 2012
- November 2012
- June 2012
- May 2012
- April 2012
- March 2012
- February 2012
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- July 2011
- June 2011
- May 2011
- April 2011
- March 2011
- February 2011
- January 2011
Top Clicks
- None
May 2024 M T W T F S S 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
Category Archives: java
How to write Java lambda Expression ?
Lambda expression is a new and important feature of Java which was included in Java SE 8. It provides a clear and concise way to represent one method interface using an expression. It is very useful in collection library. It … Continue reading
oracle.security.jps.service.idstore.IdentityStoreException: JPS-01520: Cannot initialize identity store at starting OBIEE
[bi_server1] [WARNING] [JPS-01520] [oracle.jps.idmgmt] [tid: [ACTIVE].ExecuteThread: ‘0’ for queue: ‘weblogic.kernel.Default (self-tuning)’] [userId: <WLS Kernel>] [ecid: 0000KdVfAivApIWFLzNM8A1K^prs000002,0] [APP: bicomposer#11.1.1] Cannot initialize identity store, cause: javax.naming.CommunicationException: 2001:0:9d38:90d7:280c:3b5:3f57:ebcd:9704 [Root exception is java.net.ConnectException: connect: Address is invalid on local machine, or port is not … Continue reading
run linux command from java and reading result?
import java.*; class Test { public static void main(String[] args) { int ch; try { Process myProcess = Runtime.getRuntime().exec(“ls -al”); InputStreamReader myIStreamReader = new InputStreamReader(myProcess.getInputStream()); while ((ch = myIStreamReader.read()) != -1) { System.out.print((char) ch); } } catch (IOException anIOException) { … Continue reading
Introduction to Web Services
Web services are distributed application components that are externally available. You can use them to integrate computer applications that are written in different languages and run on different platforms. Web services are language and platform independent because vendors have agreed … Continue reading
Posted in Web Services
Comments Off on Introduction to Web Services
String in java
Java Programming String is Special A Brief Summary of String Class A String contains a sequence of Unicode characters. Unlike C/C++, where string is simply an array of char, Java’s String is an object class in the core package java.lang. … Continue reading
How to use ContextLoaderListener,how to make application Listener
publicclass Main extends org.springframework.web.context.ContextLoaderListener { /** *@param args */ DatabaseListner listener = new DatabaseListner(); publicvoid contextDestroyed(ServletContextEvent event) { super.contextDestroyed(event); listener.end(); listener = null; System.out.println(“web app undeployed”); } publicvoid contextInitialized(ServletContextEvent event) { super.contextInitialized(event); new Thread(){ publicvoid run() { listener.listen(); } }.start(); … Continue reading
Posted in java
Tagged how to make application Listener, How to use ContextLoaderListener
Comments Off on How to use ContextLoaderListener,how to make application Listener
move directory in Java ,convert file to linux,remove CRLF
privatevoid moveFilesFromSourceToDestination(String sourceFolder,String destinationFolder) throws IOException{log.info( “trying move “+sourceFolder+” to “+destinationFolder ); File sFolder = new File(sourceFolder); File dFolder = new File(destinationFolder); for (File file : sFolder.listFiles()){ if (file.isFile()){ File newFile = new File(dFolder.getAbsolutePath() + “/”+file.getName()); moveFile(file,newFile); }elseif (file.isDirectory()){ File … Continue reading
Posted in java
Tagged convert file from windows to linux, move directory in Java, Remove CRLF
Comments Off on move directory in Java ,convert file to linux,remove CRLF
how To sort a hashmap using its keys and/or values
To sort a hashmap using its keys :- Dump the HashMap into a TreeMap: Map yourMap= new HashMap(); // put some tuples in yourMap … Map sortedMap = new TreeMap(yourMap); To sort a hashmap using its values :- public HashMap getSortedMap(HashMap hmap) … Continue reading
Posted in collections
Comments Off on how To sort a hashmap using its keys and/or values
[Java] Reverse ordering a TreeMap
TreeMap is a Map that keep the element in the natural order of the key. The order can be changed providing to the contructor of the TreeMap a Comparable. So you can implement your custom one for more specific tasks. However if you only … Continue reading
Posted in collections
Comments Off on [Java] Reverse ordering a TreeMap
junit music box on eclipse
Posted in junit
Comments Off on junit music box on eclipse