Shaji Ravindran

Ranch Hand
+ Follow
since Jan 12, 2002
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 Shaji Ravindran

I was looking for getting my hands on Spring Boot but from the TOC of this book it looks like Spring Boot is not covered, is there any specific reason for that? Are you guys planning to come up with a book on Spring boots any time soon.
5 years ago
Thanks for the response.

What i need is how to build a java client using weblogic api which can access the asynchronous .Net web service.
16 years ago
Hi,
Can any body tell me how can i built a java client using weblogic api for accessing the .Net Asynchronous web service.

Thanks.
[ November 20, 2005: Message edited by: Shaji Ravindran ]
16 years ago
Hi,
If ur interested in reading articles online here is good series of article (The Object-Oriented Thought Process) on OOAD, here's the link for the first one

http://www.developer.com/design/article.php/10925_3304881_1



at the end of each article there's link of the next continuation article.

Bye

[ March 11, 2005: Message edited by: Shaji Ravindran ]
[ March 11, 2005: Message edited by: Shaji Ravindran ]
Hi,
Thanks for the reply.I have to create these two docs soon, so iam trying to get an idea abt these.

Expecting more comments.

Thanks
Hi,
Can anyone give me detailed decription about High Level Design(HLD) and Low Level Design(LLD), if possible with a small example.
what are the general constituents of HLD & LLD.

Thanks
Hi All,
Thanks for the responses.

what i was asking was, is it possible to create a folder and make it the context root of the application , exploded format (not archived), and start with the development of the application and not to deploy it in the war or jar format??


Bye
17 years ago
Hi,
Thanks for the response.

I think ur telling abt using some weblogic tool or IDE to create the new web application, but iam not using any tool or editor i just want to create it manually.

Thanks 4 the responses.
17 years ago
Hi,
Could any one please tell me how to create new web application in weblogic 8.1 to work with jsp and servlet, as in tomcat where we can create our web applications folder inside tomcat's webapp folder and can start developing application.

Thanks
17 years ago
Hi,
Can anyone suggest me a good core java designing book(OOAD), which is good 4 a beginner in designing.

Thanks,
Shaji.R
[ February 18, 2005: Message edited by: Shaji Ravindran ]
17 years ago
Hi,
Thanks for the responses, i got it working using the following code
InputStream is = getClass().getClassLoader().getResourceAsStream("prop.properties");
properties.load(is);
18 years ago
Hi,
Thanks for the response.The code is
Properties properties = new Properties();
try
{
properties.load(new FileInputStream("prop.properties"));
}
catch(Exception e)
{
e.printStackTrace();
}
When i runs this from console as standalone applications, it works fine,but its not working in tomcat.
[ February 13, 2004: Message edited by: Shaji Ravindran ]
18 years ago
Hi,
Iam running an web application on jakarta-tomcat-5.0.16 which is using property file but the java file is not able to pick the properties file.My java classes are in the package com.export. in WEB-INF\classes\com\export folder and i have put my property file named prop.properties in WEB-INF\classes folder as well as the WEB-INF\classes\com\export folder also, but when i acess the site from browser its showing
java.io.FileNotFoundException: prop.properties (The system cannot find the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at java.io.FileInputStream.<init>(FileInputStream.java:66)
If anyone could help me get this working, I would be most appreciative.
18 years ago
hi all,
Thanks for the response.Has any one developed any similar application who can provide some code snippet or example which shows how to extract the values from the result object.Below is the java file which is the returned object, this is generated with wsdl2java.
package org.tempuri;
public class _GetTitleAuthorsResponse_GetTitleAuthorsResult implements java.io.Serializable {
private org.apache.axis.message.MessageElement [] _any;
public _GetTitleAuthorsResponse_GetTitleAuthorsResult() {
}
public org.apache.axis.message.MessageElement [] get_any() {
return _any;
}
public void set_any(org.apache.axis.message.MessageElement [] _any) {
this._any = _any;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof _GetTitleAuthorsResponse_GetTitleAuthorsResult)) return false;
_GetTitleAuthorsResponse_GetTitleAuthorsResult other = (_GetTitleAuthorsResponse_GetTitleAuthorsResult) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this._any==null && other.get_any()==null) ||
(this._any!=null &&
java.util.Arrays.equals(this._any, other.get_any())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (get_any() != null) {
for (int i=0;
i<java.lang.reflect.Array.getLength(get_any());
i++) {
java.lang.Object obj = java.lang.reflect.Array.get(get_any(), i);
if (obj != null &&
!obj.getClass().isArray()) {
_hashCode += obj.hashCode();
}
}
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(_GetTitleAuthorsResponse_GetTitleAuthorsResult.class);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://tempuri.org/", ">GetTitleAuthorsResponse>GetTitleAuthorsResult"));
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
}
Thanks
[ January 16, 2004: Message edited by: Shaji Ravindran ]
[ January 16, 2004: Message edited by: Shaji Ravindran ]
18 years ago
Hi,
Thanks for the response. I found an example of such java client in axis/test/wsdl/dataset folder which iam posting below,it returns an object , but iam not getting any idea how to get real data from the Result object.

package test.wsdl.dataset;
import org.apache.axis.AxisFault;
import java.net.ConnectException;
import java.io.IOException;
public class DataServiceTestCase extends junit.framework.TestCase {
public DataServiceTestCase(java.lang.String name) {
super(name);
}
public void test1DataServiceSoapGetTitleAuthors() throws Exception {
test.wsdl.dataset.DataServiceSoapStub binding;
try {
binding = (test.wsdl.dataset.DataServiceSoapStub)new test.wsdl.dataset.DataServiceLocator().getDataServiceSoap();
}
catch (javax.xml.rpc.ServiceException jre) {
if(jre.getLinkedCause()!=null)
jre.getLinkedCause().printStackTrace();
throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre);
}
assertTrue("binding is null", binding != null);
binding.setTimeout(60000);

try {
// Test operation
test.wsdl.dataset._GetTitleAuthorsResponse_GetTitleAuthorsResult value = null;
value = binding.getTitleAuthors();
assertTrue(value != null);
// TBD - validate results
} catch (java.rmi.RemoteException re) {
if (re instanceof AxisFault) {
AxisFault fault = (AxisFault) re;
if (fault.detail instanceof ConnectException ||
fault.getFaultCode().getLocalPart().equals("HTTP")) {
System.err.println("DataService HTTP error: " + fault);
return;
}
if (fault.detail instanceof IOException) {
System.err.println("DataService IO error: " + fault);
return;
}
}
throw new junit.framework.AssertionFailedError("Remote Exception caught: " + re);
}
}
}
18 years ago