Wednesday, August 20, 2014

Oracle Certified Associate, Java SE 7 Programmer Certification




If someone is planning to give certification,

These are the few resources they should refer :-

1.  Oracle Certified Associate, Java SE 7 Programmer Study Guide

will add  more ...


Some important pointers for this exam

When using BigDecimal, it is important to note the following:
• Use the constructor with the String argument as it does a better job at
placing the decimal point
• BigDecimal is immutable
• The ROUND_HALF_EVEN rounding mode introduces the least bias



Objects of these wrapper classes are immutable. That is, their values cannot
be changed.

Tuesday, August 19, 2014

Signature of an Java Method

The signature is an important concept to remember and is used in overloading/
overriding methods and constructors , Inheritance and
Polymorphism. A constructor will also have a signature. Notice that the definition
of a signature does not include the return type.

Monday, August 18, 2014

Common Error while developing ADF application

[10:32:07 PM] Copying security related files to the ADF Mobile Framework application...
[10:32:07 PM] Creating Android preferences XML files...
[10:32:08 PM] Creating AndroidManifest.xml file...
[10:32:08 PM] Creating Google Cloud Messaging intent service file GCMIntentService.java...
[10:32:08 PM] Creating unsigned Android application file...
[10:32:08 PM] Command-line executed:  "C:\Programs\adt-bundle-windows-x86-20140702\adt-bundle-windows-x86-20140702\sdk\platform-tools\aapt" p --debug-mode -f -m -J "C:\JDeveloper\mywork\ MobileApp\deploy\Android4\src" -M "C:\JDeveloper\mywork\ MobileApp\deploy\Android4\AndroidManifest.xml" --min-sdk-version 19 --target-sdk-version 19 --version-name 1.0 --version-code 1 --extra-packages oracle.idm.mobile -F "C:\JDeveloper\mywork\ MobileApp\deploy\Android4\MobileApp.apk" -I "C:\Programs\adt-bundle-windows-x86-20140702\adt-bundle-windows-x86-20140702\sdk\platforms\android-20\android.jar" -S "C:\JDeveloper\mywork\ MobileApp\deploy\Android4\res" "C:\JDeveloper\mywork\ MobileApp\deploy\Android4\java_res"
[10:32:08 PM] Deployment cancelled.
[10:32:08 PM] ----  Deployment incomplete  ----.
[10:32:08 PM] Cannot run program ""C:\Programs\adt-bundle-windows-x86-20140702\adt-bundle-windows-x86-20140702\sdk\platform-tools\aapt"": CreateProcess error=2, The system cannot find the file specified
[10:32:08 PM] CreateProcess error=2, The system cannot find the file specified



Solution:-


Change the file of appt


https://blogs.oracle.com/onesizedoesntfitall/entry/adf_mobile_deploying_to_android

http://stackoverflow.com/questions/9093709/installation-error-install-failed-older-sdk

https://rmirchan.wordpress.com/author/rmirchan/



Tuesday, August 12, 2014

Heroku issues



Error:-  I installed the Heroku plugin in eclipse. When i was trying to update the code from Heroku account i got this error.

java lang reflect invocationtargetexception heroku

Solution:-
I was getting the error because I had exceeded  the limit free user project. Eclipse was creating project even when it was throwing the error. So i went ahead and deleted those project and it worked fine.




This could be due to the Eclipse SSH key is not matching the SSH key(s) that is associated with your Heroku account.




http://stackoverflow.com/questions/18550610/heroku-ssh-error


The problem is caused because Heroku plugin does not add a known hosts entry for heroku.com and git clone fails.
To solve this issue go to File -> Import... -> Projects from Git. Then select URI, click next and put you project URI in the URI field (i.e. git@heroku.com:fierce-atoll-8131.git) and click next. Then you will be asked to add heroku.com fingerprint to the known hosts list and create the known hosts file if it doesn't exist. After you accept this, you can cancel the Git import and proceed with Heroku plugin import.

Starting with Heroku and PostgreSQL


Wednesday, August 6, 2014

Upcoming Trainings


Webservice Training (Date to be announced soon!)

1. REST Training

  • Overview of Web Services
  • The XML Technology
  •  Understand the concepts of REST.
  •  Explore the conventions and design principals associated with REST services.
  • Creation of REST application
  •  Learn the JAX-RS API for building services from annotated plain old Java objects (POJOs).
  •  See how to produce and consume multiple data formats to include XML and JSON.
  •  Security of Java REST services.
  •  See how to build Java REST client applications.
  • Testing REST using REST application tester


2. SOAP Training
  • Overview of Web Services
  • The XML Technology
  •  Explore the conventions and design principals associated with SOAP services.
  • Web Services Description Language
  • Creation of SOAP application
  • Testing of SOAP application using
  • See how to build Java SOAP client applications.

Reach out to me for further details on my email id 
Send Mail