Win a copy of Emmy in the Key of Code this week in the General Computing forum!

Mike Boota

Ranch Hand
+ Follow
since Jul 18, 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 Mike Boota

Hi,

I need to create a tree structure from a resultset and show them into my JSP. Here is my table sql (grup).



What I really need is a recursive method to search for all the children of each row and build a tree heirarchy. e.g. the data may look like




So looking at the top data my final tree structure should look like


and so on. ORDER_BY show the order in which each element should display in the heirarchy. I am really struggling to find a way on how to have the heirarchy built and really need some help.

Thanks


Here is the SQL i have to het the data


9 years ago
Hi,

I need some help in setting-up and testing a datasource as I am pretty new to JBoss. We have a clustered jboss environment that connects to a RAC Oracle Database. Wanted to find out how do I configure my Datasource and what is the best approach and where exactly do I need to make changes. Using JBoss4.2.3

How do I make sure my datasource setting is such that anytime a cluster server or RAC node goes done any transactions in between should go to completion. How can I test different scenarios are there any java programs that I can use for testing. Any help is really appreciated.

Thanks
10 years ago
Hi,

Can someone please provide a small sample on how to call a PL/SQL stored Procedure and pass in a parameter of type BLOB.
I need to call a PL/SQL Stored Procedure and pass BLOB as a parameter. I have table that stores different types of files and the datatype of the column is BLOB so
from my java program I need to read some file and call the PL/SQL Stored Procedure passing that file content as BLOB. Any help is really appreciated


Thanks
Hi,

I am new to JMS and really need some help. Actually I am trying to use Oracle Eterprise Messaging System with Database Persistence (Adaaced Queuing [AQ]). I am able to configure the Queues in the Database and also created Resource Adapater on the Oracle App Server 10.1.3.1. Now how do I connect to and send a message to that queue from my standalone java client. I can directly put a messagein Database AQ through but need to Enqueue using te Resource Adapter. I am not using any MDB's as the java client queue messages from any where but don't know what provider url and other information do I need in my java. Any small sample will really help.

Thanks
Hi,

I am new to BEA can someoneplease provide steps to install AquaLogic User Interaction i.e ALUI 6.5 on windows xp.

Thanks
11 years ago
Hi,

I haven't used Tomcat before and is the first time I am using it. I have Web Service that is deployed on Tomcat 5 installed on my local system. Web Service I am using Spring, Hibernate. The issue I am facing is
after deploying a service all works fine. As soon as I leave the service idle means I don't make any calls to the Web Service for couple of hours
my Web Service stops working. If I try to invoke a Web Service I get an error message and looking at the logs I don't see any call to the Web Service so I end up undeploying and redeploying the Web Service and it starts working and if I don't invoke the Service for couple of hours it stops working and I then I have to undeploy and redeploy the Service.

Any idea waht might be the problem where to look. Why the Service keeps working as long as I keep calling but stops working if I call after couple of hours. Is there any settings I need to make on Tomcat as I am new to Tomcat so have no idea where to look.

Any help is appreciated.

Thanks
11 years ago
Hi,

I am totally new to JBoss and need some help. I mostly worked on BEA and Oracle. I have a web service deployed on Tomcat that needs to be now migrated to JBoss. What are the steps in moving a web service from Tomcat to JBoss.

Is there some step by step tutorial on developing and deploying a web service on JBoss along with sample build script.

Any help is really appreciated.

Thanks
11 years ago
Hi,

I am new to JSF and need some help can some one please tell me how to create a dynamic datatable with sorting functionality. I am reading data data from a database table and wants to build the datatable dynamically based on the columns returned. I know how to created a datatble with a fixed number of columns but can't figure out how to create a datatable dynamically with sort functionality. Any small example will greatly help.

Thanks
11 years ago
JSF
Hi,

I am new web logic and need some help in compiling, creating deployment file i.e. war, ear on Web Logic 9.2. I have the following sample web service with annotations code code but need help in compiling, creating deployment file (war,ear), creating proxy for testing etc. How to compile and create deployment files in WebLogic 9.2. Any help is really appreciated.



Thanks
12 years ago
Hi,

Can someone please point to some tutorial or documentation or book that talks about developing Web Services with Annotations. How do we develop web service with Annotations. Thanks
12 years ago
Hi I have a datatable populated from ListDataModel there is a commandButton at the end of each row, how can I get the selected row in javascript using onclick.

Basically when a user clicks on the button I want to open a new browser window and show the values of the selected row. Can someone please tell me how can i achieve this.


Thanks
12 years ago
JSF
Hi,

I am trying to display a HashMap in a datatable where the values for each key is an ArrayList e.g.


Now I have a Datatable with two columns. First column shows the key and the second column I again have
a datatable to show the ArrayList. So I will have one row with a key and the values again shown in a
datatable. So far I no luck and need some help on how to achieve this. Here is the index2.jsp code I have:



And here is the backing bean Index2.java I have:



Now when I run this application the keys are shown in the respective column but values are coming up as

[AA2, BB2, CC2] in one row rather in a separate Row as I am using a Datatable inside UIColumn to show the values.

Here is what I see in the output:




As above output is not correct as it shows both list values in front of each key rather than what those
keys are tied to. I wanted the following output:



So I can do sorting pagination on the values datatable. But currently the output is not shown correctly. Any help
is really appreciated. My hashmap will be populated dynamically so wants to show the key and values in separate column
but also need to show the values in an embedded datatable as the list can be huge.

Thanks
12 years ago
JSF
Any one I am also trying to do the same. I want to show the data in a table my data is stored in a HashMap where all the values for keys are stored in an ArrayList. How can I show the values in a Tree format.

Thanks
12 years ago
JSF
But what if there are many users accessing the file and do I have to load it in memory for each request or have it loaded in memory once on server startup.

thanks
12 years ago
JSF
Hi,

Can someone please help me I have a very large xml file i.e. > 12 MB. I have a search form where a user enters some data a I need to search for the content in that xml file and display it on the page in a datatable. Now as the file is huge what is the best approach to search the file. As x number of users may be doing a search at one time. The xml file is stored in a specific folder and that never changes.

Is it ok to read the file data and store it in a static hashset and keep it in memory and search on the hasset. Or what else can be a better way.

Thanks
12 years ago
JSF