Approach Java (1)

Author - Webner

Free Online Courses With Personalized Certificate

I started writing this tutorial targeting MCA students in Himachal Pradesh University, Shimla, India (from where I did MCA back in 99). This is an attempt to help students learn Java by practice. I am posting this tutorial(work in progress) on my blog Read more…

SCEA 5 – My 2 cents

Author - Webner
|
0 Comments
|

recently became SUN certified Enterprise Architect after clearing all 3 parts of SCEA. It is hard to get answers to all questions one may have regarding SCEA but SCEA forum on javaranch.com is great!! I have shared my experience here for each part to help SCEA seekers.

Part 1 Read more…

Host Credentials ERROR Invalid username and or password Oracle 11g

Author - Webner
|
0 Comments
|

On Windows XP do following :

Go to Control Panel > Administrative Tools > Local Security Policy > Local Policies > User Rights Assignment

Search “Log on as batch job”, double click it, click Add User or Group and add the userid you are trying to use under Oracle Read more…

Software Release Life Cycle

Author - Webner
|
0 Comments
|

Number of stages for a software, before it is released, may vary project to project and company to company. But in general pre-alpha (nightly builds, which may not have all features implemented), alpha (with all requirements implemented, unit-tested but before testing by QA), beta (after Alpha-testing by Read more…

Linux “grep and copy”

Author - Webner
|
0 Comments
|

Suppose I have a folder hierarchy as below:

f1 > f2

f2 > f3

f2 > f4

f4 > f5

I want to find all files in f1 or any of its descendant folder that contain text “I am a match” and copy them into f1’s parent folder (whatever Read more…

Linux Truncate (Log)File

Author - Webner
|
0 Comments
|

Commands to empty logfile :

1. :>logfile – If logfile does not exist, this will create an empty log file, otherwise it will empty the existing file.

2. cat /dev/null > logfile – This is equivalent to above command.

Command to truncate logfile to specific size :

Sometimes we want Read more…

find: paths must precede expression

Author - Webner
|
0 Comments
|

In Linux bash you may face an error while using wildcard * to search files. For e.g. trying to search all jar files with the following command:

find. -name *.jar

will give following error:

find: paths must precede expression

Usage: find [-H] [-L] [-P] [path…] [expression]

Reason is that * is Read more…

AJAX Response Race Condition

Author - Webner
|
0 Comments
|

I am working on a j2ee project in which a lot of UI screens are AJAX based. Recently we started facing problems on some screens, which were not updating correctly. On one of the screens we have a lot of options with checkboxes to select them. Each checkbox click submits Read more…

‹ Prev page1 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 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48