sri charan

Greenhorn
+ Follow
since Dec 04, 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
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 sri charan

Hello friends,

i just want to know about how to take a data from .txt file and strore it into java object. Let us assume that .txt file has 3 columns(name, employnumber and address) and 40 rows, and was seperated by ",". How can we seperate this and will take into java object.

as i think we can use string concation and send it into collection class and can use... but when the address line has more than one line how can we take care ....
15 years ago
Hello All,

after creating an object to a perticular class ( think that it was for persistance) how it be handled if the data is too large...

How can we hadle the JVM Heap Size when not using any IDE's....

can any one please tell me regarding this...

Thanks & Regards
15 years ago
Hello friends,

I just want to know if the "stringbuffer" is giving more flexibuility for data store then why in most case's we go for "string"

can any one please confirm this......
15 years ago
Hello pavan,

thanks for reply.... but here i want to know how thesedifferent sessions communicate with each other... i mean how it knows that specific session related to specific client .... suppose for an appliation there was 10 client..... can you please tell me how a session identify's from all for the perticular client.... at different stages ( in jsp, servlet and in ejb) and these communicate....

thanks & regards
Hello friends,

As we know that "Session" is specific to client.... in any project we may use JSP's, Servlet's and EJB's .... here we are using session at different level as scope in jsp , servlet and in ejb as a stateless or statefull.... i just want to know if a client sends a request of session scope is that application maintains only one session for the entire request or it differs form jsp to servlet to ejb( please take here as statefull session) ....

If it is not means is this against rules i mean ( session is specific to client )...... can any one please clear this.....
Hello friends,

when i am reading EJB stateful session bean, came little bit confuse about how a statefull session bean will track that session bean belongs to a specific Clint.... As i think it may be using "" session using url rewriting technique ( session.encodeURL() ) .. just want to know how come it be correct.. if not can any one please tell me about this how it will track ......

Thanks & Regards
Hello,

i am a new bee for ejb and java too, have one question can we use ejb with jdbc. i mean ejb session beans with jdbc(using data source). As i know we use ejb(s) to implement business logic and jdbc for database connectivity.

i just want to know is this combination will be comfert for live applications.....
Thanks for your response kumar,..... Here is the web.xml file which was generated by myeclipse ide......

<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.4"
xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<servlet>
<description>This is the description of my J2EE component</description>
<display-name>AdminSrv</display-name>
<servlet-name>Activsrv</servlet-name>
<servlet-class>com.inx.invpkg.Activsrv</servlet-class>
</servlet>

<servlet-mapping>
<servlet-name>Activsrv</servlet-name>
<url-pattern>/servlet/Activsrv</url-pattern>
</servlet-mapping>
</web-app>

I didn't change any thing in this.... except removing index.jsp file....
16 years ago
thanks for response..... This is generated by myeclipse ide, please see the following:
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.4"
xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"> [---> it repeadly says here is the problem <-----]
<servlet>
<description>This is the description of my J2EE component</description>
<display-name>AdminSrv</display-name>
<servlet-name>Activsrv</servlet-name>
<servlet-class>com.inx.invpkg.Activsrv</servlet-class>
</servlet>

<servlet-mapping>
<servlet-name>Activsrv</servlet-name>
<url-pattern>/servlet/Activsrv</url-pattern>
</servlet-mapping>
</web-app>

I didn't change any thing .......
16 years ago
i have been changed my display name. can please through your view on my post .....
16 years ago
Hello all,

i wrote a simple servlet program in myeclipse and tried to deploy (taken a web application project in myeclipse ide) weblogic8.1 it showing the following message

<Jan 8, 2008 1:45:53 PM IST> <Warning> <HTTP> <BEA-101248> <[Application: 'C:\bea\user_projects\domains\euro\applications', Module: 'invent']: Deployment descriptor "web.xml" is malformed. Check against the DTD: org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'web-app'. (line 6, column 52).>

i am using the same configuration as specified by the bea for weblogic8.1 . Can any through your view please.....
16 years ago
Hello all,

When i trying to deploy a web application in weblogic8.1 it showing the following message

<Jan 8, 2008 1:45:53 PM IST> <Warning> <HTTP> <BEA-101248> <[Application: 'C:\bea\user_projects\domains\euro\applications', Module: 'invent']: Deployment descriptor "web.xml" is malformed. Check against the DTD: org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'web-app'. (line 6, column 52).>

i am using the same configuration as specified by the bea for weblogic8.1 . Can any through your view please.....
16 years ago
page:65 "" IN the early versions of RMI, for every stub there was a matching skeleton object. Today, though, that's not always true. ""

Have another doubt in Page:72 regarding hashmap in Dumb Questions

I am not clear about this i mean HashMap Serializablity.....

first para they given that ""Collection implementations in the J2SE API are Serializable"" and in the 3rd para said that "value()method present in the hashmap is from Collection interface".... last they ""don't rely on the Collection returned from a map's values() method to be Serializable""

may be i didn't understand properly ...... can you please explain this....
hello friends,

have one doubt when reading headfirst ejb..... she said that the latest versions of rmi doesn't create multiple skelton's for multiple clients is this true(the sentence resembles the same meaning)..... if so how it be...

can any one post your view.......

thanks & regards