Win a copy of Building Blockchain Apps this week in the Cloud/Virtualization forum!

joshua k

Greenhorn
+ Follow
since Nov 03, 2000
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 joshua k

Hi,
I just completed a Trading System(GSTPA) project in Merrill Lynch and I am on the lookout for a new position.
My recent project dealt extensively with J2EE technologies and weblogic server 6.0sp2,which incl ejb�s ,message driven ejb�s XML etc.
Looking forward to hearing from you.
Thanks,
Joshua Karunakar
Karunakarj@hotmail.com
Ph 973-460-7877
18 years ago
paul we use xml to send trade messages around the world.the xml is sent on an mq-series que.
i am using the xerces1.2.3 sax parser to parse an xml string.
the dtd location is the default location set by the parser. there must be a way to specfy the location/path for the dtd(other than specifying in the system doctype)
pls can some one help out here??
thanks
joshua
------------------
josh
try using <xsl utput method="xml" indent="yes" encoding="UTF-8"/xsl...>
this will indent u'r o/p and the encoding may be the problem of the junk characters.
[This message has been edited by Ajith Kallambella (edited February 12, 2001).]
thanks peter food for thought!!!
and i aint yellin now.
19 years ago
i have used jsp for performing background jobs on the weblogic server however my manager is not convinced!! here's the justification.i would like opinions on this please!!!
criticism WELCOME
(I HAVE USED JSP'S TO DELEGATE THE FUNCTIONS OF JNDI LOOKUP TO EJB AND INITIALIZING PRESENTATION JAVA BEAN)
THE USE OF JSP FOR NON VISUAL PURPOSES AND FOR BACKGROUND TASKS ON THE SERVER IS UNCONVENTIONAL AND NOT LIKELY AN IDEA TO BE ACCEPTED EASILY.
AS SUCH THE THUMB RULE FOR CHOOSING BETWEEN A SERVLET OR A JSP IS THAT WHENEVER THERE IS ANY SERVERSIDE COMPUTATIONAL TASK �CHOOSE A SERVLET AND WHENEVER THERE IS PRESENTATION STUFF REQUIRED �CHOOSE A JSP.
THE MOST COMMON SENSE CHOICE FOR A DELEGATE WOULD BE A SERVLET FOR OUR DELEGATE AS SUCH.
I PROPOSE USING JSP�S FOR THE DELEGATE ,ALTHOUGH UNCONVENTIONAL THIS HAS SOME SOUND REASONS MENTIONED BELOW.
KEEP IN MIND THAT JSP TECHNOLOGY IS RELATIVELY NEW
1.WITH REF TO THE PROJECT.
2.AS VS USING A DELEGATE CLASS OR SERVLET
1. SIMPLICITY OF CODING
2. READY MADE TAGS THAT ARE AVAILABELE FOR USE
3. TAGS MOST LIKELY TO BE USED ARE USEBEAN AND THE CORROSPONDING SET/GET TAGS.
4. FORWARD TAG GIVES THE CAPABILTY TO FROWARD THE REQUEST BACK TO THE CONTROLLER SERVLET OR TO A SERVLET/JSP THIS GIVES A LOT OF FLEXIBILTY AND THE TAG IS COMARITIVELY EASIER TO USE THAN CALLING A REQUEST DISPATCHER.
5. NO NEED TO COMPILE!! AS VS A CLASS OR SERVLET.
6. CHANGES CAN BE MADE TO THE CODE AND TESTED STRAIGHTAWAY WITHOUT COMPILING AND REPLACING ETC.
7. CONSIDERABLY EASIER TO CODE AND UNDERSTAND COMPARED TO A SERVLET.
8. INSTANCE OF THE GENERATED SERVLET AVAILABLE VS INSTANTIATING A CLASS FROM THE SERVLET AND CALLING METHODS ON IT.
9. IMPORTANT!!- THERE IS THE POSSIBILTY OF FACTORING OUT COMMON FUNCTIONS AND DEVELOPING CUSTOM TAGS IN THE FUTURE.THIS WOULD BE A SIGNIFICANT IMPROVEMENT VS A CLASS OR SERVLET.
10. VS A CLASS THERE WOULD BE A PERFORMANCE IMPROVEMENT AS AN EXISTING INSTANCE IS AVAILABLE,ALSO THERE IS A CLEAN SEPERATION OF CODE FROM THE CONTROLLER WHO IS RESPONSIBLE FOR ROUTING SERVICES MAINLY.
11. COMPARITIVLY NEW TECHNOLGY AS COMPARED TO SERVLETS AND WHICH IS UNDER ACTIVE DEVELOPMENT.
12. THE PROOF OF CONCEPT PROGRAM HAS BEEN TESTED AND FOUND OK.

------------------
josh
[This message has been edited by joshua k (edited February 06, 2001).]
19 years ago
u can use oracle's xsu to generate xml dynamically from a query

Originally posted by Frank Daly:
Hi Ajith,
Thanks for your offer of help. If you use databases, could you give an example or instructions using cocoon to generate an xml file from a query?
tia
frank


how did u manage to store the xml string i.e it contains "and'??

Originally posted by Ajith Kallambella:
Frank,
We use the Producer-Processor pattern supported by Cocoon( it is also called the "Reactor" pattern.) that allows us to plug-in dynamic XML producers and Processors.
Our producers use EJBs to communicate with the DB. We wrote a small framework to transform the resultset into an XML string. Producers make use of these XML strings to build the XML document that gets rendered or processed.
This is not a very efficient way of doing it, but it works. We will very soon move to XML databinding and/or making use of XML-enabled databases such as Oracle 8i.
Hope that helps!


how do i store an xml string in a database the " and ' chars do
not allowing me to store
the xml string i've tried vaarchar2,clob,long raw none work
any suggestions will be welcome!!!
------------------
josh
[This message has been edited by joshua k (edited February 01, 2001).]
how do i store an xml string in a database the " and ' chars do
not allowing me to store
the xml string i've tried vaarchar2,clob,long raw none work
any suggestions will be welcome!!!
------------------
josh
[This message has been edited by joshua k (edited February 01, 2001).]
problem with calling an ejb from a jsp page.
my jsp page is located in public_html.
my ejb package pkg2 is located in examples.ejb.basic.pkg2

the import statement in a declarative
<%@ page import="<br /> javax.naming.*,<br /> javax.ejb.*,<br /> java.rmi.RemoteException,<br /> java.rmi.Remote,<br /> java.util.*,<br /> examples.ejb.basic.pkg2.*"%>
i get an error msg on the server saying unable to import package examples.ejb.basic.pkg2.
any help/advice on calling an ejb from a jsp on wl will be appreciated.
19 years ago
have u copied the required jar files to the weblogic/lib from the service pack?

Originally posted by Cristian Roman:
I need Help

I've downloaded and installed the latest versions of the above
following the Installation Guides.
The servers start OK (I think)

I must have done something wrong.
When I try the sample apps
localhost:7501/portal
localhost:7501/wlcs
i get the following errorS:
Thanks

<--
Sat Nov 04 13:30:16 GMT+01:00 2000:<I> <ServletContext-General> servletimages: init
Sat Nov 04 13:31:33 GMT+01:00 2000:<E> <WebAppServletContext-portal> Servlet failed with Exception
weblogic.servlet.jsp.JspException: (line -1): Error in tag library at: 'wl': For tag 'repeat', ca
not load extra info class 'weblogicx.jsp.tags.RepeatTagInfo'
at weblogic.servlet.jsp.StandardTagLib.jspException(StandardTagLib.java:138)
at weblogic.servlet.jsp.StandardTagLib.processTag(StandardTagLib.java:201)
at weblogic.servlet.jsp.StandardTagLib.processTagElements(StandardTagLib.java:146)
at weblogic.servlet.jsp.StandardTagLib.<init>(StandardTagLib.java:125)
at weblogic.servlet.jsp.JspLexer.loadTagLib(JspLexer.java:87)
at weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE_BODY(JspLexer.java:3739)
at weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE(JspLexer.java:3495)
at weblogic.servlet.jsp.JspLexer.mDIRECTIVE(JspLexer.java:3356)
at weblogic.servlet.jsp.JspLexer.mSTANDARD_THING(JspLexer.java:1694)
at weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java:1535)
at weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java:1425)
at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:825)
at weblogic.servlet.jsp.JspParser.doit(JspParser.java:69)
at weblogic.servlet.jsp.JspParser.parse(JspParser.java:116)
at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:97)
at weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:242)
at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:265)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:180)
at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:181)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:118)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:154
at com.beasys.commerce.foundation.flow.ServletDestinationHandler.handleDestination(Servle
DestinationHandler.java:51)
at com.beasys.commerce.foundation.flow.FlowManager.service(FlowManager.java:378)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:123)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:761
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:708
at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.ja
a:252)
at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:346)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:246)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:135)

-->


19 years ago
need help with weblogic
------------------
josh