Showing posts with label rational application developer. Show all posts
Showing posts with label rational application developer. Show all posts

Friday, July 20, 2012

comment_icon 0 Getting Started with TGMC

If you doing the TGMC project then you have to use IBM  tools only
like
  1.  Rational Software Architect For  Unified modeling (UML ) and SRS 
  2. DB2 for Database
  3. Rational Application Developer or Eclipse (only open source not Commercial)
  4. WebSphere Application Server or WebSphere Community addition For Deployment 
But When you are Installing or using The Rational Application Developer (RAD)  in some cases it didn't get installed so What you can do for that ?



My Advice is that you  can for Eclipse it is available free 

but there are few things where you have to compromise i just list few of them
  1. No Drag N Drop : Eclipse did't provide pallete view 
  2. You have to use  WebSphere Community Edition server only 
these two are major compromises but eclipse works pretty well so you can go for it if you face any problem with RAD in installation .

So From Where you can download these Tools ?
This is the most Common Questions Regarding the TGMC
So i just give a brief on that
 IBM will provide their toolkit Disks but it will take time so better download them by own 
1st thing 1st so 1st in the list is
  • RSA(Rational Software Architect ) : you can download the trial version form the website they will give atleast 1 month which is enough for creating your SRS 
  • DB2 : its community edition is free and you can download it from ibm website
  • RAD/Eclipse : you have to download the trial version of RAD or you can use Eclipse which is free of charge
  • Server : for deployment and testing you need a server so you can go for  WebSphere Community addition because its free and works pretty well
  Download Links :

 Note: Before downloding Register yourself on IBM -Site (it s free) make suer you will download Installation manager . it will be available on same download page  .

Monday, February 20, 2012

comment_icon 0 Installing the WASCE WTP Server Adapter


The WASCE Web Tools Platform (WTP) server adapter is a tool for deploying and testing Java EE assets to a WebSphere Application Server Community Edition server. Use the Eclipse Update Manger to install the WASCE WTP server adapter from the Eclipse Update Site for IBM WebSphere Application Server Community Edition.

NOTE: same process is followed for WASCE 3.0 JUST DOWNLOAD 3.0 adapter Click to Download Adapter
Information about this tool can be obtained from the Geronimo development tools site and from the tool's on-line help. The following tips supplement that information.
See Developing portable Java EE assets using Eclipse for information about the JEE Profiling feature.
See Using a server in Eclipse and Deploying in Eclipse for instructions on using the WTP Server Adapter after installing it.

About the WASCE WTP Server Adapters

WebSphere Application Server Community Edition Version 2 provides a new WASCE WTP server adapter which supports Version 1.1.0.x and Version 2.0.0.0 WebSphere Application Server Community Edition servers. These server runtimes can be downloaded from within eclipse after the appropriate WTP server adapter is installed. The Version 2 WASCE WTP server adapter may also be used to run Apache Geronimo Version 1.1.x and Version 2.0 servers, although this is not supported.

Compatible platforms

IBM has tested the WASCE WTP server adapter on Windows and Linux development environments supported by the Server runtime, running on Intel and AMD platforms with the provided IBM 32-bit Java software development kits (SDKs). The Eclipse IDE does support other platforms, which were not tested and therefore, cannot be recommended.
The tool may be compatible with other system platforms and operating system levels, but to obtain support for a suspected defect, you must demonstrate the defect on one of the recommended development platforms.

Installing the WASCE WTP Server Adapter

There are four options for installing the WASCE WTP Server Adapter:
  • the "Download additional server adapters" link
  • the Eclipse Update Manager
  • the updatesite.zip file
  • the deployable.zip file

Installing the WASCE WTP Server Adapter using the "Download additional server adapters" link

  1. In the Servers View panel at the bottom of the screen, right-click, select New and click Server.
    • To show the Servers View panel:
      1. On the Eclipse menu bar, click on Window, select Show View, and click Other....
      2. In the Show View panel, expand Server, select Servers and click OK.
  2. In the New Server panel, click the "Download additional server adapters" link.
  3. In the Install New Server Adapter panel, select "WASCE v2.0 Server Adapter", and click "Next>".
  4. Accept the license agreement, and click Finish.
  5. Click OK to install the server adapter, and restart eclipse for the changes to take effect.

Installing the WASCE WTP Server Adapter using the Eclipse Update Manager


Note: Be sure to install the Prerequisite Software before you attempt to install the WASCE WTP server adapter.
Instructions for users familiar with using the Eclipse Update Manager
  • Add the URL of the WASCE Eclipse Update site (http://download.boulder.ibm.com/ibmdl/pub/software/websphere/wasce/updates/) as a remote site in your Eclipse update manager, and search for features to install from it.
  • To install the Eclipse WTP server adapter for version 2.0 of the WebSphere Application Server Community Edition server, select this WTP Server Adapter:
    • WASCE v2.0 Server Adapter 2.0.0
  • To additionally install the Eclipse WTP server adapter for version 1.1.0.x of the WebSphere Application Server Community Edition server, also select:
    • WASCE v1.1.x Server Adapter 2.0.0
  • It is not necessary or recommended to install a server for development and test from the IBM WASCE Runtimes in the update manager list at this time. The appropriate server will be downloaded the first time you click the Download and install button when you define a new server.
Detailed Instructions
  1. Open the Eclipse Update Manager as follows:
    1. Help, Software Updates, Find and Install....
    2. Select Search for new features to install and click Next.
  2. Create a WASCE Eclipse Update Site as follows:
    1. Click the New Remote Site... button in the upper right corner.
    2. Type WASCE Eclipse Update Site (or other suitable unique name) in the Name: field.
    3. Put the URL of the WASCE Eclipse Update site (http://download.boulder.ibm.com/ibmdl/pub/software/websphere/wasce/updates/) in the URL: field.
    4. Click OK.
  3. Select only the WASCE Eclipse Update Site in the Sites to include in search selection box and click Finish.
  4. Select a mirror and click OK if prompted to do so.
  5. Expand WASCE Eclipse Update Site, and WTP Server Adapters.
  6. Install the desired WTP server adapters
  • To install the Eclipse WTP server adapter for version 2.0 of the WebSphere Application Server Community Edition server, select this WTP Server Adapter:
    • WASCE v2.0 Server Adapter 2.0.0
  • To additionally install the Eclipse WTP server adapter for version 1.1.0.x of the WebSphere Application Server Community Edition server, also select:
    • WASCE v1.1.x Server Adapter 2.0.0
  • It is not necessary or recommended to install a server for development and test from the IBM WASCE Runtimes in the update manager list at this time. The appropriate server will be downloaded the first time you click the Download and install button when you define a new server.
  1. Click Next.
  2. Accept the license agreement and click Next.
  3. Click Finish.
  4. Click Yes to restart eclipse for the changes to take effect.

Installing the WASCE WTP Server Adapter using the updatesite.zip file

Note: This installation option is only recommended if you can not use the Eclipse Update Manager to install code from the Internet due to firewall or proxy restrictions.
  1. Visit the welcome page from the Eclipse Update Site for IBM WebSphere Application Server Community Edition.
  2. Click the link at the bottom of the page to download the updatesite.zip package.
  3. Extract this package to a directory on your machine, and follow the instructions in Installing the WASCE WTP Server Adapter using the Eclipse Update Manager.
    • Instead of using a remote update site, create a local update site from the directory to which you extracted the updatesite.zip package.
    • Detailed Instructions
      1. Open the Eclipse Update Manager as follows:
        1. Help, Software Updates, Available Software
        2. Add Site
      2. Create a WASCE Eclipse Update Site as follows:
        1. Click the  Local Site... button in the upper right corner.
        2. Browse the Local site(extracted folder)
        3. Click OK
      3. Expand WASCE Eclipse Update Site, and WTP Server Adapters.
      4. Install the desired WTP server adapters
      • To install the Eclipse WTP server adapter for version 2.0 of the WebSphere Application Server Community Edition server, select this WTP Server Adapter:
        • WASCE v2.0 Server Adapter 2.0.0 
      • To additionally install the Eclipse WTP server adapter for version 1.1.0.x of the WebSphere Application Server Community Edition server, also select:
        • WASCE v1.1.x Server Adapter 2.0.0
      • It is not necessary or recommended to install a server for development and test from the IBM WASCE Runtimes in the update manager list at this time. The appropriate server will be downloaded the first time you click the Download and install button when you define a new server.
      1. Click Next.
      2. Accept the license agreement and click Next.
      3. Click Finish.
      4. Click Yes to restart eclipse for the changes to take effect.

Installing the WASCE WTP Server Adapter using the deployable.zip file

Note: Use this installation option only if all other options fail.
  1. Visit the welcome page from the Eclipse Update Site for IBM WebSphere Application Server Community Edition.
  2. Click the link at the bottom of the page to download the deployable.zip package.
  3. Stop Eclipse.
  4. Extract this package to your Eclipse directory.
  5. Use the eclipse -clean option after installing the WTP server adapter.

Troubleshooting the WASCE WTP Server Adapter

Use the eclipse -clean option after installing the WTP server adapter

After installing the WTP server adapter, whether it is the first installation or a subsequent installation of a newer version, start Eclipse with the -clean option. This allows Eclipse to recognize and use the newest version of the WTP server adapter.

Views synchronize when saved

While using the WTP server adapter to customize deployment plans, you may want to use both the form view and the source view. When you are using both views, remember that changes made in one view will not be reflected in the other view until the changes are saved. Be sure to save your changes before switching to a different view.

An IP address change can orphan the server

If the server is running on a host where the IP address has been assigned using DHCP, be sure to stop the server before the IP address changes. For example, you are using a laptop with an Ethernet connection, stop the server before you disconnect and switch to a wireless connection. If you don't, Eclipse will not be able to send a shutdown request to the hidden process where the server is running and if the server is not stopped gracefully, some of the server's configuration changes may be lost.
If the IP address changes while the server is running, you will need to stop the javaw process that contains the server or restart the host. In either case, you will have to repeat any configuration changes that were not saved correctly.

Unable to open Deployment plan editor in Eclipse

This error can occur when opening a WASCE- or geronimo-specific deployment plan without having a WASCE server specified as a "Targeted Runtime". An "IllegalArgumentException" may be thrown. To fix the problem, specify a WASCE runtime as the "Targeted Runtime" for the asset as described in Deploying in Eclipse.


Friday, December 9, 2011

comment_icon 173 Sending sms via way2sms using Java


This Page has been no more upadted please visit thie link for updated information How to send sms in java : onl9class.com

API NOT WORKING ANYMORE - INDYAROCKS MESSAGE NOT GETTING DELIVERED

i have a paid API
If you are willing to pay small amount such as 50-100RS for 100-300sms
contact me at abhirathore2006@gmail.com

The sole purpose of the Api is to be used in development by students.so i am not releasing the actual sour

UPDATED CODE
This Tutorial showz that how you can use the http://www.indyarocks.com/ for sending message using your java application
Steps to Follow

  1. create a account on http://www.indyarocks.com/ 
  2. after getting indiarocks username and password use the code given below.
  3. modify the following details
    1. put your email id in Email string
    2. put your indiarocks username
    3. put your indiarocks password
    4. put number as the number on which you want to send sms
    5. put your messgae in messgae string , i limited the length to 110 char for stopping the misuse
  4. if you copy the code in your application's jsp page don't forget to import java.net.*,java.io.*,java.net.URLEncoder

Sunday, December 4, 2011

comment_icon 0 Ajax From Scratch - a WORKING demo for Jquery-Ajax in jsp

This tutorial covers a working example of ajax in jsp
note: example is just same as i used in my previous tutorial so to setup thing use that tutorial :creating-simple-db2-database-Application




Saturday, December 3, 2011

comment_icon 0 Learning Resources for DB2 pure XML with samples


XForms and DB2 pureXML
Handle pureXML data in Java applications with pureQuery



pureXML Samples

The pureXML feature enables well-formed XML documents to be stored in their hierarchical format within columns of a table. XML columns are defined with the new XML data type. Because the pureXML feature is fully integrated into the DB2 database system, the stored XML data can be accessed and managed by leveraging DB2 functionality. This functionality includes administration support, application development support and efficient search and retrieval of XML via support for XQuery, SQL or a combination of SQL/XML functions.
There are various samples provided to demonstrate the XML support; these are broadly categorized as:
Administration samples
These samples demonstrate the following features:
  • XML schema support : Schema registration and validation of XML documents
  • XML data indexing support : Indexes on different node types of XML value
  • Utility support for XML : Import , export, runstats, db2look, and db2batch support for the XML data type
Application Development samples
These samples demonstrate the following features:
  • XML insert, update, and delete : Inserting XML values in XML typed columns, updating and deleting existing values
  • XML parsing, validation, and serialization support : Implicit and explicit parsing of compatible data types, validating an XML document, serializing XML data
  • Hybrid use of SQL and XQuery : Using SQL/XML functions like XMLTABLE, XMLQUERY and the XMLEXISTS predicate
  • XML data type support in SQL and external procedures: Passing XML data to SQL and external procedures by including parameters of data type XML
  • Annotated XML schema decomposition support : Decomposing an XML document based on annotated XML schemas
  • XML publishing functions : Using functions to construct XML values
XQuery samples
These samples demonstrate the use of axes, FLWOR expressions, and queries written with XQuery and SQL/XML.
These samples can be found in the following location:
  • On Windows: %DB2PATH%\sqllib\samples\xml (where %DB2PATH% is a variable that determines where DB2® database server is installed)
  • On UNIX: $HOME/sqllib/samples/xml (where $HOME is the home directory of the instance owner)

Thursday, November 24, 2011

comment_icon 40 Creating A simple DB2 Database Application with jsp


in this session we are going to see that How to Create A simple DB2 Database Application with JSP (java server pages) . Application which we are going to build is login form
Topics Covered :
1. creating database for an application

2.Creating A form and sending data to server

3. connection to database with jsp

Steps to Follow
1.    Create database"VOTERS"

Wednesday, November 23, 2011

comment_icon 0 RAD 7.5 Installation

This session covers That how to Install the Rational Application developer