J2ee+Kodo sample example
Hi there,
I am coming back to this mailing list (which I left six months ago), ,at
that time I can remember someone was talking about a tool to generate a
Persistent Session EJB (using Kodo) from a regular class.
Has this tool been released ?
From a more general matter, I am looking for a real life example using Kodo
+ EJBs. Would you have a sample code ?
(tt-tt-jdoee-2.2.1\samples\sessionBean is empty)
Thanks,
OR
I would also this tool, as we are looking to use JDO in EJB environment. If
some work is already done on this, we can use the pattern/tool.
Thanks
Rakesh
Olivier Refalo wrote:
Hi there,
I am coming back to this mailing list (which I left six months ago), ,at
that time I can remember someone was talking about a tool to generate a
Persistent Session EJB (using Kodo) from a regular class.
Has this tool been released ?
From a more general matter, I am looking for a real life example using Kodo
+ EJBs. Would you have a sample code ?
(tt-tt-jdoee-2.2.1\samples\sessionBean is empty)
Thanks,
OR
Similar Messages
-
Exception running J2EE Kodo car example
on Windows2000, Jboss3.2, running the Kodo J2EE tutorial example When I
add a car to the database (default Hypersonic datasource) I obtain this
exception:
HTTP ERROR: 500 RuntimeException; nested exception is:
com.solarmetric.kodo.runtime.FatalDataStoreException:
java.sql.SQLException: You cannot commit during a managed transaction!
[code=0;state=null] NestedThrowables: java.sql.SQLException: You cannot
commit during a managed transaction!
RequestURI=/sample/Save.jsp
Can you help me?If you are using managed XA transactions, you need to specify a second
connection factory Kodo can use for things like allocating sequence
numbers and other database operations that should not be dependent on the
current global transaction. See the documentation on the various
ConnectionFactory2 settings, and our documentation on XA transactions. -
Sample example of Report in OSB
Hi can any one send the link for sample example of Report in message flow of OSB...Thanks in advance
ManiTry to search on this forum. There were many examples here.
-
For each sample example in OSB without Split join
Hi,
Any body have sample example for For each in OSB without Split join......Thanks in advanceI know this is an old thread, but I just ran into this same problem. Wow! That's a crappy 'feature'. I wasted 4 hours this morning on this thinking it was me doing something wrong in my xpath, but nope, you need to cast the counter to an int .......
I hope they fix things like this in the next major release.
Thanks for the solution. -
Hi,
i am working on the Android Mobile Application Development based on SMP using Agentry Plugin.i am new to this environment, i want to know how it works,and need a sample example to understand the structure.as of now i don't want to connect with any back end services. simple example like creating hello world in java.
so please guide me on this? is there any link or any sample program ?
Message was edited by: Michael ApplebyThese documents might help you:
How-to Build an Agentry based mobile app from scratch connecting to an SAP back-end Part1
Agentry - Build your own Apps
Regards,
Midhun VP -
Sample example of publish in OSB
Hi can any body send links for sample examples for publish in OSB
In OSB there are two types of services:
Proxy Service - Used for inbound transport i.e. these services are either invokes my a message polled (reading a file, polling from DB, reading a message from JMS queue) or an external application sending a request to this service. A Proxy service is essentially like a service to start a message flow in OSB. Just like a web service.
Business Service - Used for outbound transport i.e. these services make a call from an already running OSB message flow to an external entity(writing a file, insert in DB, Publishing a message on JMS queue) or making a call to an external application for ex calling an external web service. Business service in this sense is like a Web Service client.
Hence to publish a message to JMS (an outbound operation) you will create a Business Service in OSB. SOA Suite is no where involved in this.
To publish a message on JMS from HelloWorld Proxy you need to do following:
1. Create a Business Service of messaging type and JMS transport.
2. Create a HelloWorld Proxy which receives a message over HTTP. In the message flow of this Proxy create a Publish action(its an action to send a one way message to a Business/Proxy servicing from within a Proxy) in request pipeline or Route to action in Route Node and select the JMS Business Service as target.
When you invoke the HelloWorld Proxy it will send a message to Business Service which will then publish the message on Queue. -
Sample example for with check box in iterator.
Hi,
I have a requirement where 5 to line items would be displayed with an iterator.
I am able to display the output with checkbox in the iterator.
In the next page i need to display the check items.
How do i identify the checkbox is checked or not.
Would be greatful if u can provide an sample example.
Promise to reward point
Regards,
Josedata: loc_table_event type ref to cl_htmlb_event_tableview.
Data: loc_cnt type i,
loc_indx type 1.
describe TABLE int_table .
loc_cnt = sy-tfill.
call method cl_hrrcf_iterator=>get_tv_attr
exporting
p_tv_id = 'TV'
p_component_id = me->component_id
po_request = me->request
importing
p_visible_first_index = me->visible_first_row
pt_selected_keys = me->lt_selectedkeytab
po_tv_event = loc_table_event.
*loc_cnt have number of records in intarnaltable, that you displayed in Table view.
loc_indx = 1.
do loc_cnt TIMES.
wf = loc_table_event->get_cell_value(
row_index = loc_indx
column_index = 1 ).
/* by using this you can get the value of chexk box in to wf . if wf is 'X' then that record is selected.
/* you can fetch the record form intarnal table by using index(loc_indx)
loc_indx = loc_indx + 1.
enddo.
vijay -
Toolbox tutorial and sample examples for OAF
Hi all ,please help me to get Toolbox tutorial and sample examples for OAF , and Jdeveloper 9i download link,
please give me to get the above stuff. Thanks
Thanks & RegsHi,
Looks like you are not in 11.5.9, your instance is 11.5.10.
You can download the Patch 4573517 Oracle9i JDeveloper with OA Extension for 11.5.10 CU2
from metalink, search with platform as Windows Clinet 32 bit.
Then you can develop pages for your instance.
Btw: what is the output for the following query,
Select bug_number from ad_bugs where bug_number in ('4334965','4125550','4676589','5473858');
Thanks.
With Regards,
Kali. -
API & sample examples for the data integration to Oracle WMS.
Hi All,
Is there any API support for the data integration to Oracle WMS?
and after that, we want to take the data from WMS to Oracle E-Business Suite..
Please send the link from where we can find the API and sample examples..
Any help would be highly appreciated
Thanks,Hi Sanjitanand,
Thanks for your reply.
What i are trying is;
I want to develop generic interfaces using Oracle API; which will help us in sending the RFID related data to WMS and then to EBS.
My input will be xml or flat files, i'll parse that; get the data and want to send this RFID data to WMS and from WMS to EBS..
If you have any sample examples/ docs / code etc , pls send me same..
Any help would be highly appreciated
Thanks, -
Any Sample Examples on Web Center Sites .
Hi ,
can you please provide any sample example which gives end to end working on a website. I couldnt find even a single blog on this . please help us
thank you,
Sashank P.You should search for the old name ("FatWire").
I found two resources - not exactly end-to-end, but they might be helpful:
http://www.tomred.net/fatwire/
http://www.sciabarra.com/fatwire/category/tutorial/ -
Hello,
I'm learning Portal. Please send me the link for sample example by using JSP,Servlet,Portal, and Database for beginning user? or would you please posted one sample pgm?
Thank you
ChockalingamHi Chockalingam,
I can direct you to 2 samples http://www.sagelogix.com/knowledge/portlets. The first sample is a simple Java standards based portlet example. The other is an example which demonstrates JSR-168/Velocity/Spring/Hibernate. Both examples come with an ant build script and you can use them as a basis for your own experimentation and development.
-sean
Solutions Architect
www.sagelogix.com -
Sample j2ee application - working example
Can someone point out a good example of a J2EE application which is uses javabean, jsp, servlets the right way? I want to study it and figure how to use them.
http://java.sun.com/blueprints/code/index.html
-
J2EE Tutorial sample codes question
Hi there,
I just started to catchup some tutorials' sample codes using J2EE tutorial, what happened when i tried to compile the first example called "Converter" EJB, using the command:
ant converteri get all the files compiled except the ConverterClient.java which leads to some errors:
ConverterClient.java:15: '.' expected
import Converter;
^
ConverterClient.java:16: '.' expected
import ConverterHome;
^
ConverterClient.java:26: cannot resolve symbol
symbol : class ConverterHome
location: class ConverterClient
ConverterHome home =
^
ConverterClient.java:27: cannot resolve symbol
symbol : class ConverterHome
location: class ConverterClient
(ConverterHome)PortableRemoteObject.narrow(objref,
^
ConverterClient.java:28: cannot resolve symbol
symbol : class ConverterHome
location: class ConverterClient
ConverterHome.class);
^
ConverterClient.java:30: cannot resolve symbol
symbol : class Converter
location: class ConverterClient
Converter currencyConverter = home.create();
^
6 errors
whats wrong actually? I also tried to put the ConverterClient.java into another directory, after compiled the rest, then i copied the file into the build folder and compile it manually, yet still getting this error. Please help!
Thanks
NeoI think you didn't read my question properly, i had said that i manually copied the ConverterClient to the other class together as it needs;
This is the code for ConverterClient:
* Copyright 2001 Sun Microsystems, Inc. All Rights Reserved.
* This software is the proprietary information of Sun Microsystems, Inc.
* Use is subject to license terms.
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.rmi.PortableRemoteObject;
import java.math.BigDecimal;
import Converter;
import ConverterHome;
public class ConverterClient {
public static void main(String[] args) {
try {
Context initial = new InitialContext();
Context myEnv = (Context)initial.lookup("java:comp/env");
Object objref = myEnv.lookup("ejb/SimpleConverter");
ConverterHome home =
(ConverterHome)PortableRemoteObject.narrow(objref,
ConverterHome.class);
Converter currencyConverter = home.create();
BigDecimal param = new BigDecimal ("100.00");
BigDecimal amount = currencyConverter.dollarToYen(param);
System.out.println(amount);
amount = currencyConverter.yenToEuro(param);
System.out.println(amount);
System.exit(0);
} catch (Exception ex) {
System.err.println("Caught an unexpected exception!");
ex.printStackTrace();
} also please try the tutorial before answering...TQ :D -
Hi..
I am attempting to run the Java Email examples on the J2EE admin screen.
We have added the smtp server parameter. What configuration is required to make this work?
I will reward points.Hi,
have you seen <a href="http://help.sap.com/saphelp_nw04/helpdata/en/2e/c00e408230c442e10000000a1550b0/frameset.htm">this</a> tutorial? It refers to the JavaMail sample that you have bundled in the Web AS. The latter is accessible via HTTP: http://<WebAS_host>:<HTTP_port>/index.html -> J2EE Engine Examples -> JavaMail.
Hope that helps! -
Hey there...I'm exploring the use of Flex for
"situational-based" elearning development, which gives the learner
different scenarios that they have to walk-through to learn a
particular concept (e.g., Selling, Negotiating)...definately NOT a
linear approach.
The library of samples, although very inspiring, didn't have
anything on how Flex can be used in the learning development
industry.
Many people use Adobe Captivate...not good enough for me (too
linear). I use Flash more than anything, but I want to use Flex to
build a framework for developing my e-learning apps. So that I can
crank out new projects quicker, but still maintaining a
recognizable structure/look/feel. I THINK Flex will really
help...just would like to see it in action, on a real e-learning
development example/sample..that is not linear
The Flash Learning Paths (beta) application is great! It's
just that the tutorials/videos don't provide a complete
context...how the components fit in a larger, real world
application. Maybe the Flex Learning Paths isn't the place for
this...but more so for the larger Developer library?
Also, it would be really nice (for me), if you can filter on
not only Designer/Developer Vs. Manager Vs. Architect
(etc...)...but also on the TYPE of Designer/Developer for example.
I know that's a LOT to ask...but it would be a nice to have.
Thanks anyway...I will certainly continue to use the Flex
Learning Paths... Again, I think the beta looks great. Easy to
navigate and I like that it provides a variety of learning
opportunities (blogs, videos, exercises, examples, articles). Great
job!Hey there...I'm exploring the use of Flex for
"situational-based" elearning development, which gives the learner
different scenarios that they have to walk-through to learn a
particular concept (e.g., Selling, Negotiating)...definately NOT a
linear approach.
The library of samples, although very inspiring, didn't have
anything on how Flex can be used in the learning development
industry.
Many people use Adobe Captivate...not good enough for me (too
linear). I use Flash more than anything, but I want to use Flex to
build a framework for developing my e-learning apps. So that I can
crank out new projects quicker, but still maintaining a
recognizable structure/look/feel. I THINK Flex will really
help...just would like to see it in action, on a real e-learning
development example/sample..that is not linear
The Flash Learning Paths (beta) application is great! It's
just that the tutorials/videos don't provide a complete
context...how the components fit in a larger, real world
application. Maybe the Flex Learning Paths isn't the place for
this...but more so for the larger Developer library?
Also, it would be really nice (for me), if you can filter on
not only Designer/Developer Vs. Manager Vs. Architect
(etc...)...but also on the TYPE of Designer/Developer for example.
I know that's a LOT to ask...but it would be a nice to have.
Thanks anyway...I will certainly continue to use the Flex
Learning Paths... Again, I think the beta looks great. Easy to
navigate and I like that it provides a variety of learning
opportunities (blogs, videos, exercises, examples, articles). Great
job!
Maybe you are looking for
-
Wage Type is not getting defaulted in it 0008
Dear Sirs, Just now I have seen the forum on wage type errors. I am also getting the same error while trying the configuration. I have checked a lot on forum however none of them seems to work for my issue. the error is IndVal of wage type 5800: No
-
Is it normal for files to go missing from an external hard drive?
I've posted about this issue before but for slightly different reasons. I'm about to buy a new hard drive (the old one is full), probably I'll go for the exact same model, and I want to know if the problem I had described here has happened to Mac use
-
It should be noted that I formerly used over 200GB of the SSD. However I've deleted all those files so I can restore my iTunes library from Time Machine and then move it to an external hard drive for use. It seems that with solid state storage drives
-
Purchased online number is not working
I recently renewed a year subscription to my online number, but when I make calls the number is not showing up. It is showing up an either an unknown number or a 661 number. Also, I cannot receive calls either. This is extremely frustrating because I
-
Which views/tables to use for retrieving item information
Hi All, I need to write a PL/SQL procedure for retrieving detailed information for a specified item (given inventory item ID and organization ID). I'm not quite sure which views/tables to us for this. I found out that view MTL_SYSTEM_ITEMS_FVL is the