Posts

How to create a web service in eclipse (Creating bottom up web service using tomcat apache)

Configure Tomcat Apache in Eclipse Windows -> Preferences -> Server -> Run time Environments ->Add Then you can select your Apache Tomcat server click next and provide the path of Tomcat Installation Directory click Finish Creating the bottom up web service Download the latest Axis2 binary distribution from here Now we set Axis2 run time to Eclipse Windows -> Preferences -> Web services -> Axis2 Preferences Select Axis2 Runtime tab and give the path to Axis2 Runtime Location. Then click 'OK' Now create a dynamic web page by File -> New -> Other -> Dynamic Web Project Then you come to New Dynamic Web Project Wizard and give name to web project In this example - WebServiceToPrintName Here, you have to set configuration by clicking modify button Then you come to Project facet wizard and select 'Axis2 Web Services'  as a project facet Then click 'OK' Now you get new dynamic web page called WebServiceToPrintNa...

J2ME

What is J2ME? J2ME is Java 2 Micro Edition which is specially cut down version of java for mobile devices such as mobile phones, PDA, set top boxes and etc. J2ME is basically devided in to configurations, profiles and optional APIs. These provide specific information about APIs and different families of devices. Configuration This defines a Java Virtual Machine and set of core level API s for specific kinds of devises based on memory constraints and processor power. There are currently two configurations called Connected Device Configuration (CDC) and Connected Limited Device Configuration (CLDC) . CDC aims for set top boxes, home appliance and high end PDAs CLDC aims for mobile phones, pagers and etc. Profiles Profiles are more specific than configurations. There can be different profiles in J2ME but only one is used at time.  The mostly used profile is Mobile Information Device Profile (MIDP). Some versions of MIDP are MIDP 2.0 and MIDP 2.1.  Optional Packages Th...