gautam shah

Ranch Hand
+ Follow
since Oct 29, 2000
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by gautam shah

Originally posted by Mark Herschberg:

I've met countless CS majors who won't understand the fundamentals of software engineering. All they know how to do is write code. Software engineering requires many other skills, which have nothing to do with CS.
--Mark


and I've met infinite civil , mechanical etc engineers unfortunately they are now known as software engineers but in actully they only deserves to be sweeper. in general people from other stream just doing nothing but polluting the software industry at great extent.
22 years ago

Originally posted by Garry Kalra:
Hi,
I, Gaurav Kalra am a Sun certified Java Programmer as well as Developer. I also have post graduate as well as graduate degree in computer science. I live in Delhi, India.
Any job opportunities will be highly appreciated.
Garry


Which degrees do you have at graduation and post graduation level ???
22 years ago

Originally posted by vivek makode:
Hi,
has anyone used user defined html (select, form , input etc )tags in their projects?
if yes please let me know.
i am trying to develop them but am unsuccessful. i cant get to know how it is done.

please help.
thanks
vivek



have a look on struts-tag library. it will help you a lot . available at http://jakarta.apache.org
22 years ago
JSP

Originally posted by Dharam:
Can anybody help me to find the size of the object in Java. Is there any methods to find this.
Thanks
Dharam


i have seen the ans of this question at Sun's site in one of the qow. because of the fact i am very poor in writing so i can't explaint that here.just go there and find that qow.
23 years ago

Originally posted by Deepa Raghuraman:

I need to keep connection presistant until client says explicitly to close.


this can't be done from client side until and unless web server supports and thus respond with "Connection : Alive" instead of "Connection : closed" client can only request to keep alive the connection, but final decission is taken by web server.

Originally posted by Deepa Raghuraman:
hi,
Can u tell be how to upgrade HTTP1.0 to HTTP1.1?


just use higher version of jdk like 1.4 to make java.net.URLConnection , thats all.



[ May 03, 2002: Message edited by: gautam shah ]

Originally posted by vikinsa aggarwal:
Hi!,
I have developed a site which uses 100% servlet technology except a few pages in static HTML. There is no JSP at all. Please take a look at http://www.vikinsa.com and send me the comments.


recieved this exeption when trying to get entered in to vikinsa.com
Error: 500
Location: /servlet/homepage
Internal Servlet Error:
java.security.AccessControlException: access denied (java.io.FilePermission /home/jakarta-tomcat-3.3.1/logs read)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:270)
at java.security.AccessController.checkPermission(AccessController.java:401)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:542)
at java.lang.SecurityManager.checkRead(SecurityManager.java:887)
at java.io.File.exists(File.java:677)
at java.io.File.mkdirs(File.java:1110)
at org.apache.tomcat.util.qlog.Logger.open(Logger.java:166)
at org.apache.tomcat.util.qlog.QueueLogger.log(QueueLogger.java:116)
at org.apache.tomcat.util.log.Log.log(Log.java:198)
at org.apache.tomcat.util.log.Log.log(Log.java:192)
at org.apache.tomcat.util.log.Log.log(Log.java:165)
at org.apache.tomcat.core.Context.logServlet(Context.java:1131)
at org.apache.tomcat.facade.ServletContextFacade.log(ServletContextFacade.java:211)
at javax.servlet.GenericServlet.log(GenericServlet.java)
at javax.servlet.GenericServlet.init(GenericServlet.java)
at homepage.init(homepage.java:34)
at org.apache.tomcat.facade.ServletHandler.doInit(ServletHandler.java:447)
at org.apache.tomcat.facade.ServletHandler.init(ServletHandler.java:263)
at org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:472)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:917)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:833)
at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10Interceptor.java:176)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:494)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:516)
at java.lang.Thread.run(Thread.java:536)
:roll:
23 years ago

Originally posted by Thomas Paul:

A statment like:
if (myShippingObject.equals(yourShippingObject))
is much clearer.


only just because of this kind of clearity and comfort for the programmer, now a days java programmers are about to die in their fields.A language that allow programmer to select their own meaning of any operator or write their own function suit to their requirement is much much superior then JAVA like languages which makes programmer a perfect handicapped.

C++ which provides a way to create reference (via &) at the time of call is a feature that is some time very much required . its a different thing that the web applications doesn't required that kind of features.
23 years ago
Thanks for reply dave.
i already had that document. actully i want DreamWeaver style help of javascript at advance level. actully the help given in DreamWeaver is not complete. it may be because of trial version of DreamWeaver. any one knows that DreamWeaver kind of javascript help, please let me know.
Thanks.
Thanks Ian.
but i am not looking for already written scriptlets. i am interested only in javascript help document through which i can see the various available object in javascripts and some references. if any available please give me.
Thanks.

Originally posted by Thomas Paul:
3) lack of operator overloading
4) lack of pass by reference


i think no 3 and 4 is weakness of java not its better part....
23 years ago
please give me some links from where i can download some good javascript help.
Thanks.


uses:- java Eval 3 - 5 + 8 - 1 + 23 - 45
(edited by Cindy to shorten the display width)
[ April 16, 2002: Message edited by: Cindy Glass ]
23 years ago

Originally posted by Meghna Kurup:
Hi Everyone,
In our web-application, I am using a stored procedure to update 5 nos. tables, when one of the values in the parent table changes. The procedure is set as a single unit of work.
Now at any given point of time, some entity beans or the other will access the above mentioned 5 tables to retrieve data.
The question is:
Does the EJB Container ensure that the next time any of the entity beans access these tables, they all will get the latest updated data?
OR PUTTING THE QUESTIONS IN A DIFFERENT STYLE
Since the Stored procedure will modify data in multiple tables,how will the EJB Container ensure that the already instantiated entity beans based on these tables be synchronized to get latest updated data?
Please come forward and put in your valuable suggestions.
Thanx in adv.


it is not the programmer who has to take care of all that. if we r using entity beans then this is the duty of container to maintain the field in the beans with corresponding columns in the table.
actully upon every call of remote methods container calls ejbLoad() to synchronize the states of bean fields with the database.
and transaction isolation level is a entirely different thing with different reasons that which one level u should choose.

Originally posted by Andres Gonzalez:
Yes, but I wouldn't like to set a listener. I just want to start my application, connect to the JMS server and pull the messages from it. that's it.
I tried to search the API and I found a method call receive(). I tried but it didn't retrieve any message. Does anyone know how to do it??
thanks


better u look in to JMS specification. after that u can easily decide taht what can be make happening and what not....

Originally posted by Andres Gonzalez:
Hi. I have a consumer, say andres, under a particular topic, soccer.
The question is, how do I retrieve the messages that are stored in the JMS server?
So far I've done the following.
1o.) Lookup a ConnectionFactory through JNDI

2o.) Create a connection

3o.) create a session

Now, I know the topic name is Soccer and the subscriber is andres. I've seen some code examples, but they create a subscriber using something like this

I do NOT need to create any subscriber because it is already created. I just need to start pulling the messages from the server. I'm using OpenJMS. I also know that I have to start the connection, something like this:

and use the method.
hope you guys understand :roll:
cheers


what about session.setMessageListener(this or that or any) ???