Shafian Kisna

Ranch Hand
+ Follow
since Oct 25, 2005
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
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 Shafian Kisna

Hi,

I would be keen for the role listed. Are you open for C2C as I am currently on a H1B with Datec Corporation (CA).
If you are open to my employment status, kindly revert to nithy1609@yahoo.com so that I can send you my updated resume.

Thanks & Best Regards
Bavani Krishna
14 years ago
Hi,

I am interested in the advertised position. I am on a H1B and am seeking for a corp-2-corp status. If you are open to such status, please revert to my email address nithy1609@yahoo.com.

Thanks & Best Regards
Bavani Krishna
14 years ago
Hi Meera,

Whatever you have planned to embark into...I wish you the best of luck. There are some good sites where you can prepare for your interview.
www.geekinterview.com, www.techinterviews.com, www.roseindia.net/interviewquestions/j2ee-interview-questions.shtml.

However, please peruse through some basics on J2EE and Java...so that it will help in your understanding the questions better during interview.
Look thru some site like this http://java.sun.com/docs/books/tutorial/java/TOC.html.
For beginners guide I recommend books from KB - Head first Java....heard its damn good. Honestly I haven't read it totally but a little snippets.

All the best & God Bless
14 years ago
Hi Sumanth,

The reason why you do not need to specify the import is that, you are already placing B within the same package.
14 years ago
For the instance, B is stored within the same package as A (Test). However since its in the same package, the error was called. From A.java, remove the package Test and run the program. It should not show any error.
14 years ago
Hi Guys,

Thanks for the suggestion...I will work along with Campbell's method as that is the one is simple to understand....

Was looking for something like that...

Once again, appreciate your help!

Thanks!
14 years ago
Hi,

Yes I am no allowed to use any coding in here. Its working on Manual based.

I am using this algorithm:-
Now that we have an algorithm, we can use it to convert numbers from decimal to binary relatively painlessly. Let's try the number D=55.

* Our first step is to find P. We know that 2^4=16, 2^5=32, and 2^6=64. Therefore, P=5.
* 2^5<=55, so we put a 1 in the 2^5 column: 1-----.
* Subtracting 55-32 leaves us with 23. Subtracting 1 from P gives us 4.
* Following step 3 again, 2^4<=23, so we put a 1 in the 2^4 column: 11----.
* Next, subtract 16 from 23, to get 7. Subtract 1 from P gives us 3.
* 2^3>7, so we put a 0 in the 2^3 column: 110---
* Next, subtract 1 from P, which gives us 2.
* 2^2<=7, so we put a 1 in the 2^2 column: 1101--
* Subtract 4 from 7 to get 3. Subtract 1 from P to get 1.
* 2^1<=3, so we put a 1 in the 2^1 column: 11011-
* Subtract 2 from 3 to get 1. Subtract 1 from P to get 0.
* 2^0<=1, so we put a 1 in the 2^0 column: 110111
* Subtract 1 from 1 to get 0. Subtract 1 from P to get -1.
* P is now less than zero, so we stop.

Please try it with converting 75 to binary.

I am unable to get the right value.

Thanks!
14 years ago
Hi,

I am using this method to convert the decimal number, 75 to a binary no.

Could you pls help me? With the given algorithm, I am getting 1001001. But the actual answer is 1001011. I am uncertain as to why I am deriving to the value. Please show me if you have some algorithm that works.


Appreciate your speedy response.

Thanks!
14 years ago
Hi Guys,

I need help on this urgently. Please advice me on how to rectify this error and tell me some ways to solve it.

java.lang.IllegalArgumentException: Timestamp format must be yyyy-mm-dd hh:mm:ss.fffffffff

java.lang.IllegalArgumentException: Timestamp format must be yyyy-mm-dd hh:mm:ss.fffffffff
at java.sql.Timestamp.valueOf(Ljava.lang.String Ljava.sql.Timestamp;(Timestamp.java:160)
at oracle.jdbc.driver.OracleStatement.getTimestampValue(ZI)Ljava.sql.Timestamp;(OracleStatement.java:5009)
at oracle.jdbc.driver.OracleResultSetImpl.getTimestamp(I)Ljava.sql.Timestamp;(OracleResultSetImpl.java:689)
at weblogic.jdbc.wrapper.ResultSet_oracle_jdbc_driver_OracleResultSetImpl.getTimestamp(I)Ljava.sql.Timestamp;(Unknown Source)
at glog.util.jdbc.noserver.NoQueryFilter.getTimestamp(Ljava.sql.ResultSet;I)Ljava.sql.Timestamp;(NoQueryFilter.java:84)
at glog.util.jdbc.noserver.SqlQuery.getTimestamp(I)Ljava.sql.Timestamp;(SqlQuery.java:209)
at agility.ets.ejb.logview.LogicalDeleteLogSessionBean.getLogEntries(Lglog.util.jdbc.T2SharedConnection;Ljava.sql.Timestamp;JLjava.lang.String;ZI)Lagility.ets.ejb.logview.LogicalDeleteLogEntries;(LogicalDeleteLogSessionBean.java:98)
at agility.ets.ejb.logview.LogicalDeleteLogSessionBean.getLogEntries(Ljava.sql.Timestamp;JLjava.lang.String;ZI)Lagility.ets.ejb.logview.LogicalDeleteLogEntries;(LogicalDeleteLogSessionBean.java:31)
at agility.ets.ejb.logview.LogicalDeleteLogSessionServerSideEJBWrapper.getLogEntries(Ljava.sql.Timestamp;JLjava.lang.String;ZI)Lagility.ets.ejb.logview.LogicalDeleteLogEntries;(LogicalDeleteLogSessionServerSideEJBWrapper.java:34)
at agility.ets.ejb.logview.LogicalDeleteLogSessionServerSideEJBWrapper_x14ddy_EOImpl.getLogEntries(Ljava.sql.Timestamp;JLjava.lang.String;ZI)Lagility.ets.ejb.logview.LogicalDeleteLogEntries;(LogicalDeleteLogSessionServerSideEJBWrapper_x14ddy_EOImpl.java:46)
at agility.ets.ejb.logview.LogicalDeleteLogSessionServerSideEJBWrapper_x14ddy_EOImpl_WLSkel.invoke(ILweblogic.rmi.spi.InboundRequest;Lweblogic.rmi.spi.OutboundResponse;Ljava.lang.Object Lweblogic.rmi.spi.OutboundResponse;(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(Lweblogic.rmi.extensions.server.RuntimeMethodDescriptor;Lweblogic.rmi.spi.InboundRequest;Lweblogic.rmi.spi.OutboundResponse V(BasicServerRef.java:477)
at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(Lweblogic.rmi.extensions.server.RuntimeMethodDescriptor;Lweblogic.rmi.spi.InboundRequest;Lweblogic.rmi.spi.OutboundResponse V(ReplicaAwareServerRef.java:108)
at weblogic.rmi.internal.BasicServerRef$1.run()Ljava.lang.Object;(BasicServerRef.java:420)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic.security.subject.AbstractSubject;Ljava.security.PrivilegedExceptionAction Ljava.lang.Object;(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedExceptionAction Ljava.lang.Object;(SecurityManager.java:147)
at weblogic.rmi.internal.BasicServerRef.handleRequest(Lweblogic.rmi.spi.InboundRequest V(BasicServerRef.java:415)
at weblogic.rmi.internal.BasicExecuteRequest.execute(Lweblogic.kernel.ExecuteThread V(BasicExecuteRequest.java:30)
at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest V(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:178)
at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread V(Unknown Source)

Appreciate your prompt response. This is relatively urgent

Thanks!
14 years ago
Hi,

Thanks for your responses. I am afraid this is the complete code. My confusion is public PersonFP getPerson(String name, String event) -- this method will give a return type of PersonFP, right?
But the class PersonFP contains the given code.


So what does this mean when the class returns another class as the return type?

Thanks for your help.

Best Regards
SK
15 years ago
Hi there,

I am trying to understand the sequence of the return type PersonFP. Can someone please guide?

Here is the code.




In the PersonFP class, I have the get methods to retrieve the name and event. However, I am not sure what does this, "public PersonFP getPerson(String name, String event)" mean? The return type is PersonFP. So does it mean that it will get the return value and store into the get methods? I am confused here...Please someone guide me.

Thanks!
Best Regards
SK
15 years ago
Hi Vidya,

Thanks for the info....I just got what I needed.

Best Regards
SK
15 years ago
Hi,

Could I know if I were to download STRUTS 1.2.9, do i take the binaries or source code? I am uncertain...

Pls guide....

Thanks & Best Regards
SK
15 years ago
Hi,

Thanks for the reply...that helped

Regards
SK
15 years ago
Hi,

Can someone please explain what is Distributed Object?

Thanks & Best Regards
SK
15 years ago