Powered by Blogger.

How to checkin the code into CVS using WSAD

>> Saturday, September 17, 2011

The few steps to checkin your code in to CVS.

#1). Select your file in the workspace to checkin and right click on the file and select Team then Synchronization




Read more..

How to Change Variable values in Debugging using WebSphere

>> Monday, September 12, 2011

While running our application we can change the variable values as per our requirement and results for testing purpose.

1. First we have to add break points at perticular positions in WebSphere ApplicationDeveloper(WSAD).

 

Read more..

Convert String to Character Array Example

To Convert a String into Character we should have some methods to convert.Java having the methods are toCharArray( ) and charAt( ) .By using these we can convert. But in our program by using toCharArray( ) method is enough.

Convert String to Character Array Example This example shows how to convert a given String object to an array of character


Take a class named as 'Str2Char'

Read more..

How to switch Workspace in WebSphere Studio Application Developer(WSAD)

>> Monday, August 22, 2011


Actually with WSAD v5.1.2 version we don’t find ‘SwitchWorkspace’ option like MyEclipse and with this feature that come with RAD 6.0.

However, we can change the workspace by changing the workspace directory which WSAD prompts on starting the workbench.

If, we checked the 'Use this workspace as default' option, then we will have to go to the command prompt and type in the following:

'C:\WSAD\v512\wsappdev -setworkspace'. (Usually WSAD is stored here).

If it is in a different location on your PC, then type in \wsappdev –setworkspace


Read more..

What is the difference between Iterator and Listiterator ?

>> Saturday, August 20, 2011


There are two Differences are there :

1. We can use Iterator to traverse Set and List and also Map type of Objects. But List Iterator can be used to traverse for List type Objects, but not for Set type of Objects.

That is, we can get a Iterrator object by using Set and List, see here :

 By using Iterator we can retrieve the elements from Collection Object in forward direction only.

Methods in Iterator :

1. hashNext()
2. next()
3. remove()



Iterator ite = Set.iterator();
Iterator ite = List.iterator();

Read more..

How to create a Repository in CVS

>> Friday, August 19, 2011


CREATE a REPOSITORY

First off, you need to create a repository directory on some stable, trustworthy host. This directory is probably called something like
  • /opt/CVS
  • /usr/local/CVS
  • /mnt/CVS
You get the idea. Create this directory.
You need to set the envar CVSROOT to the name of that directory. For now, let's not worry about multiple repositories; we'll just note that by changing the envar you can make CVS look in one or another of several repositories, should you happen to have several.
There's a script cvsinit that came with CVS. You should use this script to help initialize your new repository. As the CVS INSTALL guide says, "There are many ways to customize CVS for your site. Read the cvs(5) manual page when you get the chance." I couldn't put it better myself.

Now we'll assume that you survived all of the above, and that you have a properly configured repository.






Read more..

Related Posts Plugin for WordPress, Blogger...
© javabynataraj.blogspot.com from 2009 - 2022. All rights reserved.