parthiban subramaniam

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

Recent posts by parthiban subramaniam

Thanks for teaching me that,

Like I said I�m stuck with crystal for this.

Tried doing all that the api documentation that they have give is a crap oh well guess I have to learn how to suck egg all over again
19 years ago
Good for you, unfortunately i'm stuck with crystal..and your pointer does not help in me progressing further .. more of rubbing salt in the wound

Thanks for your help anyways

Cheers,
Parthi
19 years ago
Hello there,
Used to use inet crystal clear for pumping out reports long time ago.

In the current project
We are using Crystal dev edition XI and no JSP's
So far all the documentation and examples are related to how things can be done in JSP+Crystal

Would sincerely appreciate if you could provide any pointer on how things can be moved forward with out the enterprise edition and a server but just a standalone app producing reports

Best regards,
Parthi
19 years ago
yes,
i just want to strip out the non printable char's.
once they are removed they go in to bean,
for example

"PARTHIRU3" a part of that string will be split in to "PARTHI","R", "U3" etc

parthi
19 years ago
hello all,
been banging my head over this ,
would appreciate if anyone could help.

I have a string which is been encoded in base64 algorithm,
When I decode it I get something like this

String decoded = "PARTHIRU3 \u0000u\u0001_C \u0018\u0000C \u0018\u0000\u0000t�o\u0000u\u0001_\u0000\u0000\u0000\u000F\u0000\u0000\u0000\u000F\u0000\u0000\u0000\u000F\u0000\u0000\u0000\u000F\u0000t�o\u0000u\u0001_C\u0000t�o\u0000u\u0001_ \u0000t�o\u0000u\u0001_ C\u0000t�o\u0000u\u0001_\u0000\u0000\u0000\u000F\u0000\u0000\u0000\u000F\u0000\u0000\u0000\u000F\u0000\u0000\u0000\u000F\u0000u\u0001_\u0000\u0000\u0000\u000FSO\u0000t�o\u0000\u0000\u0000u\u0001_\u0018\u0000A01\u0000t�o\u0000u\u0001_\u0000u\u0001_D\u0000u\u0001_\u0000u\u0019�\u0000u\u0001_S\u0000t�o\u0000u\u0001_ \u0000t�o\u0000u\u0001_ \u0000t�o\u0000u\u0001_E\u0005\u0000u\u0001_\u0000t�o\u0000u\u0001_S\u0000u\u0001_ \u0018\u0000\u0018\u0000\u0000t�o\u0000u\u0001_\u0000\u0000\u0018\u0000\u0000u\u0001_\u0018\u0000\u0000t�o\u0000u\u0001_\u0018\u0000C\u0000\u0000\u0018\u0000\u0000\u0000\u0018\u0000 T\u0000u\u0001_";


As you can see this string has lot of escape literals all over the place,(a mix of null, trademark etc)

In midst of the whole thing I have to extract bits and pieces of data,

1, how do I remove all the escape from this string?

Sincerely appreciate your efforts

Best regards,
Parthi
19 years ago
Hi,
Try pinging the server machine from the client machine if you are able to ping then you should be able to look up your ejb's
and also go through the JBoss docs to make sure that you have initialised the InitialContext properly with all the parameters populated you can use the jndi.properties file to figure the required ones
and place your jboss-client.jar or jbossall-client.jar in the client machine class path

if they are done you will be able to look up your ejb's

if you are not able to ping the server machine using your ip address use the machine name the ip address may be masked by your router with another one

Good luck

cheers,
Parthi
could you be more specific please

cheers,
parthi
20 years ago
Hmm yeah,
Seems like it can be less complicated for you to manage if you do those things at the server side and send them to the client for display,
that way you have more control over resources,

i'm not sure about how your way of doing things can be achieved as there is little control over what we can access and where to find the resources at the client side

Parthi
20 years ago
can not understand what you require here
20 years ago
hmm haven�t tried it before and don�t think its possible unless you hack in to jnlp packages,
Why is it an issues if they create shortcuts

Parthi
20 years ago
no it wont,
App servers are a bit intelligent then you think,
even if you use remote ejb's a few app servers out there wont marshal and unmarshal data if the entire app is running in one jvm where there is no need to transport the data over a network layer.

parthi
how are you trying to load them?
getResourceAsStream should do the trick,

you need to have them in the classpath though

cheers,
parthi
20 years ago
That�s the way we go about doing things here at my place.
just 1 wrapper to wrap all the transaction be it just one of or a multiple Data manipulation in the db,
it should work fine.
as long as your session bean does not start a new one but supports the existing trans,

Check to make sure please,

Hope that helps

Cheers,
Parthi.
hmm wonder how you reduce the size of your HahMap,
i would suggest you look for all the objects you place in your hashmap there would be something which does not implement the Serializable,

parthi
this might be of big use if you are working in jws
http://hale.homeip.net/javabook/jaws/

in the element resources
<resources>
<!-- set a -D property -->
<property name="java.naming.factory.initial" value="org.jnp.interfaces.NamingContextFactory"/>
<property name="java.naming.provider.url" value="jnp://ws3804:1099"/>
</resources>


hope that helps
cheers,
parthi
20 years ago