Bilal Ali

Ranch Hand
+ Follow
since Jun 14, 2007
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
1
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Bilal Ali

Forget about 2 weeks , can any one just simple answer my queries
11 years ago
I want to get free copy of this book , please tell me the questions .
11 years ago
any one please reply .
11 years ago
Dear All ,

Hope you guys are fine .

I ahve 5 years of experience with Java Development , mostly working with JSPs , Servlets , Applets , Struts , Swing based web and desktop applications , now we have got a project in Spring . I want to get my grip strong in Spring framework in 2 weeks immidiately , I am already very much comfortable with J2SE and J2EE concepts and architecture . Following are my questions :

1- Which is the best book to learn Spring , Appreciate if someone suggest book such as SCJP cerftification book of kathy and bert .. nice , easy and quick .
2- Name some good web site , blogs and forums for Spring related discussions .
3- Please tell which IDEs to use , which libraries JAR file shall I download and from where .
4- I want a "HelloWorld" application which should be based on JSP and Spring , tell me from where can I get it .
5- Please give me complete road map for studying Spring framework .

Regards ,
Bilal .
11 years ago
can you please tell what is the size of jvm heap , I mean to sy that how many maximum records can be stored in it ?
11 years ago
Can I use "Application Context" to store this data , I came to it while doing google , also please what is Application Contect .
11 years ago
I have "TABLE A" in database which contains 3 columns "COL 1" , "COL 2" and "COL 3" with around 1000000 (1 Million) records.

Against this table I have mapped a simple POJO lets say "ClassA" with 3 instance variables "var1" , "var2" , "var3" and also defined there set() and get() methods .

My application contains simple JSPs , Servlets and POJOs with no fancy frameworks and no other technologies .

What I actually want is that when first time my application is going to be deployed on the Application Server and the very first request which it receives , only for that request (only 1 time) my Servlet is going to get the 1 Million records from TABLE A , maps the ClassA with these records and starts populating the objects for ClassA and keep them in a Vector or an ArrayList , as you might have understood that my Vector/ArrayList will now contain 1 Million objects with each object representing a record/tupple in the "TableA" .

OK , now come to the real and difficult part , I want this Vector/ArrayList to be stored/persisted/added to the application context or to the VM or to any other memory storage location (which actually I do not know) , so that each time my JSP pages/Servlets are accessing the object in memory of getting data and not hitting the database every time .

I am totally unable to understand that how to technically achieve it , please guide me because I am layman and have no clue of how to achieve this objective.
11 years ago
We are trying to implement Open SSL on glassfish v 3 but totally failed and have no clue that how to do it , if some one has done some similar work than please share your experiences.
14 years ago
Dear All,
We are working on a Online Payment Transactions system , we are developing it in JSP , struts , beans and servlets , our end database is SYBASE and our server is WebSphere , our whole product is complete and we are about to launch it , I have two questions :

1- How can we make our server (WebSphere) secure so that the end users using our web application cannot access it , if some haker kind of user attempts to access our server , what security frameworks , security mechanisms are available for online web servers which we should adopt or integrate in our application to make our server more and more secure , if know about some industry standard security frameworks or techniques which are being used by banks or financial institutes than please suggest.

2- Same is the question for out DB Server that how can we make it secure so that no end user can access , what can be possiable security threats for a DB server of web applications and how can we minimize these threats , are there any security frameworks or techniques available , please suggest.

Your prompt response would be highly appreciated.

Regards,
Bilal.
14 years ago
we are getting binary data from a file , how to convert binary data into String form a JSP page.
14 years ago
JSP
Dear All,
We have a very sime PHP and mySQL web application in which we are only trying to establish connection between php and mysql database , the application has been hosted on iis web server , the configuration and installation is 100% perfect because we have tested some simple php pages after configuring it on iis and the results were fine , now wehn i try to establish connection between php and mysql database it gives error , the source code is as follows:

---------------------------------------------------------------------------------

<?php

print('<b> A Testing PHP Page ....... </b>');

$dbName = "wscdb";
$dbUser = "wscadm";
$dbPass = "samba1234";
//----------------------------

//DO NOT EDIT BELOW THIS LINE
$dbHost = "localhost";

$dbLink=mysql_connect($dbHost, $dbUser, $dbPass);

print('<br>');
if($dbLink)
{
print('<b> Connection successfully established ....... </b>');
}

else
{
print('<b> Connection cannot be established .............. </b>');
}



$db_selected = mysql_select_db($dbName, $dbLink);


print('<br>');
if($db_selected)
{
print('<b> Link successfully established ....... </b>');
}

else
{
print('<b> Link cannot be established .............. </b>');
}

?>

----------------------------------------------------------------------------------

The result which I get is as follows:

A Testing PHP Page .......
Connection successfully established .......
Link cannot be established ..............

Now my question is that why do the mysql_select_db() fails and do not establish the connection with the database although it is present , I have not added mysql to system dsn because it was not stated in the tutorial i am following, please reply as soon as possiable.

Regards,
Bilal Ali.
15 years ago
Dear All,
Can some one please tell me some web site where I can get good practise question and exercies about SQL , I want to practise SQL more and more and leran to write complex queries , please tell me some web site or other resource.

Regards,
Bilal Ali.
Dear All,
What and why will be the result of the following piece of code:

String s = "Test1";

public void testFunction(String s)
{
s="Test2";
}

testFunction("test3");

System.out.println(s);
15 years ago
Dear All,
Is ActionError class still presnt in Struts or has it been depricated , if its had benn depricated what are the alternate classes for it by which I can do error handling in struts , please make sure I am using Struts 1.3
15 years ago
Does anyone know where can I download Struts API documentation?
Like Java API documentation can be downloaded, I wish i can download api documentation for struts.
15 years ago