Ragupathirajan Venkatesan

Ranch Hand
+ Follow
since Aug 18, 2010
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
1
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Ragupathirajan Venkatesan

Dear All,

I am connecting the remote machine via ssh to execute one script in that server. My script in some other path than the default one, hence changing the path using cd command and executing the sctipt. This works fine. Now I need to export the current directoty of the remote server after ececuting the cd command during ssh.

Here is the sample code that I am trying.

sss test@remoteserver.com
cd /dir/test/script
./test.sh

To run the test.sh file successfuly, I need to assign the /dir/test/script/ value to one variable from the above script itself. I dont have rights to change the test.sh file itself on remote server as it is provided by thirdparty.
This is how I am trying

sss test@remoteserver.com
cd /dir/test/script
log_dir=`pwd` (Also tried like log_dir='/dir/test/script/')
export $log_dir
echo $log_dir
./test.sh

But my echo is not getting printed. Any suggestion.

Thanks in Advance
5 years ago
Thanks Campbell.
5 years ago
Thanks a lot for your information. Still I am looking for any online material with live/real examples.
5 years ago
Dear All,

I have some exposure to shell scripting. Still trying to understand in a better way. Like looking detailed informations regarding the use of characters like -d, -t, -n kind of stuff. I am using bash. Could some one suggest me any online post where I can refer myself to get more grip.

Thanks in advance,
Ragu.
5 years ago
Hi Tim,

Thanks a lot your for kind reply.

Regards,
Ragupathirajan V
5 years ago
Dear All,

I need to write shell script in linux server under any folder, that should issue SSH to another unix based DB server to execute some DB script. After all I need to cpoy those log trace(db execution) to my linux server under some folder. Could some one can help me on this.

Thanks in advance
Ragu
5 years ago
Hi,

I studied somewhere like, ejb will create certain number of objects initially and maintain them in a pool. I will serve those objects to the request one by one, when all the objects got assigned from pool, then it will check the object which is idle currently apart from the assignment. If still all the objects are free then it will create a new object and assign.

If the above statement is true about EJB then how the same happens in spring in the absence of EJB. Hope now you can understand my actual idea to post this question.

Please provide your valuable suggesion or redirection to any topic.

Thanks,
Ragu
5 years ago
Thanks for your reply. If you are interested could you please explain about what happens to the values assigned to that object by previous thread. I know that, this is a simple/repeated question but this answer will clear my doubts fully. Whether application server will do anything like activation/passivation like ejb does.


Thanks & Regards,
Ragu
5 years ago
Thanks a lot for your information. 'Thread takes care of invoking the controller' you mean dispatcher Servlet? or anything else. Please clarify bit extra. More over still am not so clear. Let me post in this way. Thread x is comes with request and object 1 will be served by the application server to populate the user 1 details in that pojo for updation. Next Thread y comes with another request, then new copy object 1 will be served or same object 1 will be served which already given to thread x. If second case is true then what happens to values populated by thread x? If first case is true then we can assume that for application server is giving new object for each thread. Then what happens to spring singleton concept.

I agree my question is somewhat complex, please help me to get better idea on spring object management.
5 years ago
Dear All,

As per my idea, Spring framework creates the singleton objects for all the bean that is configured. What happens when two or more concurrent clients expecting the same pojo or services. Lets say when the clients trying to update user profile database. In this case each user need the same pojo or service to update the data base. If that is the case, whether application server takes care of serving the required objects to client or spring has separate thread logic for this.

Thanks in Advance.
Ragupathirajan V
5 years ago
Thanks a lot for your information.

Regards
Ragupathirajan
5 years ago
Thanks a lot
5 years ago
Hi All,

As per my idea, all the three patterns are used to hide the complex business object locations and invoke the business layer with out knowing about where they are located the as well as complexity behind that.

Lets Say, Service locator will be used for complex look-up operation in ejb layered application. I feel people are also using business delegate for the same purpose. It could be great if some one advice which to use in which scenario.

Thanks in advance,
Ragupathirajan

5 years ago
Dear All,

I am new to webservices. Please suggest me one good tutorial to understand the java webservices from the beginning. Almost I am looking for ' Getting started with Java Webservices'. It will be great if it uses Axis.

Thanks in Advance.
Ragupathirajan V
5 years ago