Laura, I need some code samples you mentioned...

Laura,
I posted a message a few days ago regarding calling Stored Procedures in my JDev 3.1 (JDK 1.2.2) BC4J application. I need to be able to call them two different ways. The first involves passing some parameters to the SP and recieving back the ResultSet. In the other instance I simply need to make a call to them to perform some tasks on the DB side. Nothing will be returned from these SP's. You discussed implementing the SQL as a VO and gave me some code showing me how I might do this. You also mentioned that it is possible to create a method on the AppMod and call this from the JSP client. I need to know which method should work best for me and to get the code samples for the second option.
Thanks.
Rob

Hi,
Here is the code I used for the custom method on my VO (same could be used from the app module rather than a specific VO). The stored procedure I am calling here performs some calculations and returns an integer value:
public int getTotalHits(String mon, String year) {
CallableStatement stmt = null;
int total;
String totalhits = "{? = call walkthru.total_hits(?,?)}";
stmt = getDBTransaction().createCallableStatement(totalhits, 1);
try
// Bind the Statement Parameters and Execute this Statement
stmt.registerOutParameter(1,Types.INTEGER);
stmt.setString(2,mon);
stmt.setString(3,year);
stmt.execute();
total = stmt.getInt(1);
catch (Exception ex)
throw new oracle.jbo.JboException(ex);
finally
try
stmt.close();
catch (Exception nex)
return total;
After adding the custom method to your appmoduleImpl.java file and rebuilt your BC4J project, do the following:
1. Select the Application Module object and choose Edit from the context menu.
2. Click on the Client Methods page. You should see the method you added in the Available list.
3. Select the method and shuttle it to the Selected list.
4. Click Finish. You should see a new file generated under the application module object node in the Navigator named appmodule.java that contains the client stubs for your method.
5. Save and rebuild your BC4J project.
I wrote a custom web bean to use from my JSP page to call the method on my VO:
public class GetTotals extends oracle.jdeveloper.html.DataWebBeanImpl {
public void render() {
int totalhits;
try
Row[] rows;
// Retrieve all records by default, the qView variable is defined in the base class
qView.setRangeSize(-1);
qView.first();
rows = qView.getAllRowsInRange();
// instantiate a view object for our exported method
// and call the stored procedure to get the total
ViewObject vo = qView.getViewObject();
wtQueryView theView = (wtQueryView) vo;
totalhits = theView.getTotalHits(session.getValue("m").toString(),session.getValue("y").toString());
out.println(totalhits);
} catch(Exception ex)
throw new RuntimeException(ex.getMessage());
I just call the render method on this custom web bean from the JSP. I am not passing parameters to the render method of the bean, but instead access the parameters I need from the session:
session.getValue("m").toString()
I set these session parameters from the JSP that is called when the user submits their query criteria form. For example:
// get the view parameter from the form String month = request.getParameter("month");
String year = request.getParameter("year");
// store the information for reference later session.putValue("m", month); session.putValue("y", year);
Hope this helps.

Similar Messages

  • Explanation of some code samples

    Hello,
    can you explain me some code samples?
    First:
    try{
    wdContext.currentBapi_Flight_Getlist_InputElement().
    modelObject().execute();
    catch (Exception ex){
    ex.printStackTrace();
    wdContext.nodeOutput().invalidate();
    Second:
    Bapi_Flight_Getlist_Input input =
         new Bapi_Flight_Getlist_Input();
    wdContext.nodeBapi_Flight_Getlist_Input().bind(input);
    input.setDestination_From(new Bapisfldst());
    input.setDestination_To(new Bapisfldst());
    Thanks for your help,
    André

    Hi Andre,
    I hope you know how Rfcs work so I shall start of from there. So i shall explain with the little amount of grasp I have in the topic
    First:
    What the first code does is, to connect to the R/3 system and execute the RFC/BAPI with the input populated in the context node.
    invalidate is used to refresh the output node .
    Second:
    This part of the code is to bind the imported model of the RFC to the context model node and also to instantiate an instance of the structure to input the values into the table(input.setDestination_From(new Bapisfldst())).
    Hope this would explain a bit.
    Do reply with your feedback.
    Regards
    Noufal

  • HT1414 what can i do when 2009 error can when i am train to restore my iphone i need some help thank you....

    i need some help restore my iphone than you the erro mesaje is (2009) it say    the iphone could not be restored. an unknown error occurred (2009).

    http://support.apple.com/kb/TS3694#error2009
    If you experience this issue on a Mac, disconnect third-party devices, hubs, spare cables, displays, reset the SMC, and then try to restore.
    If you are using a Windows computer, remove all USB devices and spare cables other than your keyboard, mouse, and the device, restart the computer, and try to restore.
    If that does not resolve the issue, try the USB issue-resolution steps and articles listed for Error 1604 above.
    If the issue persists, it may be related to conflicting security software.

  • Please help me... i need some code

    Hi, i am new to Java programming, but i have a dillema. I am trying to teach myself how to use Link Lists, and have been successful in the implementation, except for adding code to delete a node. If someone would please email me to help, i would really appreciate it. I will send my code i have so far, and i just need someone to write a delete method for me. Please help, i am so frustrated, i just want to see a working example. thanks. my email address is [email protected]
    Thanks in advance.

    Ok, good idea. I am writing a program that adds 7 CD objects to a LinkList, and then prints the list. Then it removes any two, and prints the list again. I have three classes though, so ill try to make it as readable as possible:
    Here is the class which sets up the Compact disc object:
    public class CompactDisc
    private String title
    // Sets up the new CompactDisc with its title.
    public CompactDisc (String newTitle)
    title = newTitle;
    // Returns this CD as a string.
    public String toString ()
    return title;
    Here is the class with the CD list:
    public class CDList
    private CDNode list;
    // Sets up an initially empty list of cds
    public CDList()
    list = null;
    // Creates a new CDNode object and adds it to the end of
    // the linked list.
    public void add (CompactDisc cd)
    CDNode node = new CDNode (cd);
    CDNode current;
    if (list == null)
    list = node;
    else
    current = list;
    while (current.next != null)
    current = current.next;
    current.next = node;
    public void delete(CompactDisc cd)
    // HERE IS WHERE I NEED THE CODE!!!!
    // Returns this list of CDs as a string.
    public String toString ()
    String result = "";
    CDNode current = list;
    while (current != null)
    result += current.compactdisc + "\n";
    current = current.next;
    return result;
    // An inner class that represents a node in the CD list.
    // The public variables are accessed by the CDList class.
    private class CDNode
    public CompactDisc compactdisc;
    public CDNode next;
    // Sets up the node
    public CDNode (CompactDisc CD)
    compactdisc = CD;
    next = null;
    And here is the Driver Class:
    public class CDRack
    // Creates a CDList object, adds several CDs to the
    // list, then prints it.
    public static void main (String[] args)
    CDList rack = new CDList();
    rack.add (new CompactDisc("The Four Seasons")); // Vivaldi
    rack.add (new CompactDisc("Caught Somewhere In Time")); // Iron Maiden
    rack.add (new CompactDisc("New York City Underground Mix")); // Louie Devito
    rack.add (new CompactDisc("Whoracle")); // In Flames
    rack.add (new CompactDisc("Straight Outa' Compton")); // NWA
    rack.add (new CompactDisc("Elegy")); // Amorphis
    rack.add (new CompactDisc("Butterfly")); // Mariah Carey
    System.out.println (rack); // initially print the entire list
    System.out.println ("Deleting a node from the list");
    // code goes here to delete a node (e.g.. rack.delete(somenode); )
    System.out.println(rack); print the list with two nodes deleted
    Please help me with this. I would prefer if someone could just add the method and corresponding call to make the program delete. Then i would observe the code, and hopefully learn something. thanks.

  • Macbook Pro 2010 is running slow. Need some help from you guys!

    Can you guys help me out with some advice on how I can help it to run faster? I believe I have pasted al of the needed information below (if not, please let me know.)
    If someone could please take a look at this and let me know what I should do to help speed up/clean up my mac so that it runs faster. I'm rather new to this so the more straightforward the instructions, the better! Thanks guys!
    Start time: 21:16:46 07/13/14
    Model Identifier: MacBookPro7,1
    System Version: OS X 10.9.4 (13E28)
    Kernel Version: Darwin 13.3.0
    Boot Mode: Normal
    Time since boot: 20 minutes
    Diagnostic reports
      2014-06-17 VMware Fusion Helper crash
      2014-06-17 VMware Fusion Helper crash
      2014-06-21 VMware Fusion Helper crash
      2014-06-24 VMware Fusion Helper crash
      2014-06-25 VMware Fusion Helper crash
      2014-06-27 VMware Fusion Helper crash
      2014-06-29 VMware Fusion Helper crash
      2014-06-30 Adobe Flash Player Install Manager crash
      2014-07-08 VMware Fusion Helper crash
      2014-07-08 VMware Fusion Helper crash
      2014-07-13 VMware Fusion Helper crash
    Log
      Jul  9 17:47:57 wl0: Roamed or switched channel, reason #8, bssid 78
      Jul  9 19:43:43 image 1362681856 (63%), uncompressed 2215559168 (540908), compressed 1354392912 (61%), sum1 deadda7e, sum2 24db8530
      Jul 10 22:43:44 PM notification timeout (pid 3620, hpdot4d)
      Jul 11 16:38:49 wl0: Roamed or switched channel, reason #8, bssid 78
      Jul 11 16:39:25 wl0: Roamed or switched channel, reason #8, bssid 78
      Jul 11 16:40:00 wl0: Roamed or switched channel, reason #8, bssid 78
      Jul 11 16:43:22 process WindowServer[3063] caught causing excessive wakeups. EXC_RESOURCE supressed due to audio playback
      Jul 11 19:28:16 wl0: Roamed or switched channel, reason #8, bssid 78
      Jul 12 11:49:26 wl0: Roamed or switched channel, reason #8, bssid 78
      Jul 12 11:51:43 wl0: Roamed or switched channel, reason #8, bssid 78
      Jul 13 18:31:40 wl0: Roamed or switched channel, reason #8, bssid 78
      Jul 13 20:49:36 MacAuthEvent en1   Auth result for: 78 Auth timed out
      Jul 13 20:52:10 wl0: Roamed or switched channel, reason #8, bssid 78
      Jul 13 21:01:01 process WindowServer[166] caught causing excessive wakeups. Observed wakeups rate (per sec): 380; Maximum permitted wakeups rate (per sec): 150; Observation period: 300 seconds; Task lifetime number of wakeups: 45074
    kexts
      com.apple.AppleFSCompression.AppleFSCompressionTypeLZVN (1.0.0d1)
    Daemons
      com.vmware.launchd.vmware
      com.sierrawireless.SierraSWoCMon
      com.microsoft.office.licensing.helper
      com.macpaw.CleanMyMac2.Agent
      com.adobe.fpsaud
    launchd
      /System/Library/LaunchAgents/com.apple.noticeboard.agent.plist
      - com.apple.noticeboard.agent
      /System/Library/LaunchDaemons/com.apple.gkbisd.plist
      - com.apple.gkbisd
      /System/Library/LaunchDaemons/com.apple.noticeboard.state.plist
      - com.apple.noticeboard.state
      /Library/LaunchDaemons/com.adobe.fpsaud.plist
      - com.adobe.fpsaud
      /Library/LaunchDaemons/com.macpaw.CleanMyMac2.Agent.plist
      - com.macpaw.CleanMyMac2.Agent
      /Library/LaunchDaemons/com.microsoft.office.licensing.helper.plist
      - com.microsoft.office.licensing.helper
      /Library/LaunchDaemons/com.sierrawireless.SWoCMon.plist
      - com.sierrawireless.SierraSWoCMon
      /Library/LaunchDaemons/com.vmware.launchd.vmware.plist
      - com.vmware.launchd.vmware
    Startup items
      /Library/StartupItems/HP IO/HP IO
      /Library/StartupItems/HP IO/Resources/version.plist
      /Library/StartupItems/HP IO/StartupParameters.plist
    Bundles
      /System/Library/Extensions/AppleFSCompressionTypeLZVN.kext
      - com.apple.AppleFSCompression.AppleFSCompressionTypeLZVN
      /System/Library/Extensions/BeceemAppleWiMAXAdapter.kext
      - com.beceem.BeceemAppleWiMAXAdapter
      /System/Library/Extensions/Franklin Wireless Modem.kext
      - com.fklt.driver
      /System/Library/Extensions/NovatelWireless3G.kext
      - com.novatelwireless.driver.3G
      /System/Library/Extensions/NovatelWirelessFilter.kext
      - com.novatelwireless.driver.DisableAutoInstall
      /System/Library/Extensions/SierraDevSupport.kext
      - com.sierrawireless.driver.SierraDevSupport
      /System/Library/Extensions/SierraFSCSupport.kext
      - com.sierrawireless.driver.SierraFSCSupport
      /System/Library/Extensions/SierraFSRSupport.kext
      - com.sierrawireless.driver.SierraFSRSupport
      /System/Library/Extensions/SierraHSRSupport.kext
      - com.sierrawireless.driver.SierraHSRSupport
      /Library/Internet Plug-Ins/Flash Player.plugin
      - N/A
      /Library/Internet Plug-Ins/Flip4Mac WMV Plugin.plugin
      - net.telestream.wmv.plugin
      /Library/Internet Plug-Ins/Flip4Mac WMV Plugin.webplugin
      - net.telestream.wmv.webplugin
      /Library/Internet Plug-Ins/SharePointBrowserPlugin.plugin
      - com.microsoft.sharepoint.browserplugin
      /Library/Internet Plug-Ins/SharePointWebKitPlugin.webplugin
      - com.microsoft.sharepoint.webkitplugin
      /Library/Internet Plug-Ins/Silverlight.plugin
      - com.microsoft.SilverlightPlugin
      /Library/PreferencePanes/Flash Player.prefPane
      - com.adobe.flashplayerpreferences
      /Library/PreferencePanes/Flip4Mac WMV.prefPane
      - net.telestream.wmv.prefpane
    Global login items
      /Library/Application Support/Hewlett-Packard/Software Update/HP Scheduler.app/
    Font issues: 41
    DNS: 208.67.222.222 (static)
    Restricted files: 3585
    Widgets
      iCal
    Elapsed time (s): 329

    I'll try that for sure. Anything else look like it could cause an issue?

  • Please Need Some Codes ?

    Hello Im Beginner in Xcode
    and i want from someone A code that make Playe A video File With Auto Replaying the video
    i want to make a screen save App
    Can you please Help Me
    Thanks

    Not when all you do is code-beg, no, sorry.
    If that's all you're interested in, Google is your friend.
    If you're a registered dev, see the samples in the center.

  • Needs some advice from you guys

    I have clear the oracle sql pl sql exams but i dont know in which way i use my knowledge.usually database used as a backend what language is most suitable for its front end or what language i should learn so that i can use the sql plsql knowledge best.actually i had clear these exams by self study and dont have any advisor who can give me direction.i think you people can help me in this.its a noob kind of a question

    what language is most suitable for its front endThat would be a personal choice (of the architect/functional designer) and/or depending on whatever language/development tool is 'hot or not'.
    But it won't hurt to have (some) knowledge of JAVA and C/.NET, as they're often used in front-end applications.
    Also having sound XML, ADF, SOA and APEX knowledge is very valuable nowadays.
    what language i should learn so that i can use the sql plsql knowledge bestSQL is a language, it stands for Structured Query Language. For (Oracle-specific) directions, see:
    http://tkyte.blogspot.nl/2012/08/the-keys-to-oracle.html
    Check http://asktom.oracle.com on a regular basis to find real-life questions and answers/explanations.
    Google Steven Feuerstein (PL/SQL evangelist) and Joe Celko.
    Oh, and buy the books they wrote... ;)
    And ofcourse, participate, be active in the community.
    Be willing to invest a lot of time into all of this.

  • Need official code samples

    I need official sample of BPM 11.1.1.5 with BAM. Does anyone konw where I can download it?

    I need official sample of BPM 11.1.1.5 with BAM. Does anyone konw where I can download it?

  • Need some help could you guys help

    Well ive had an ipod video (30 gb) for over a year and it has been a great purchase. Probaly the only one ive made that i have over used. Every where i go it goes, ive definitly got my moneys worth. But recently sumthing has happened i was listening to it one night and the next morning when i switched to a song it didnt play it. It just skipped over a couple songs until it found the one it wanted to play. sometimes it will skip only one song sumtimes 5 or 6. Im not jumping ship on apple just yet i just wanna know if u guys know how to fix da problem.

    You wouldnt happen to have it set to shuffle songs would you? To check, on your iPod, go to settings and check what is beside the 'Shuffle' option. it should say 'songs' 'albums' or 'off'

  • Need some help if you can with my S3

    I have been trying to change the sound of when a text comes in and I can't seem to figure out how to change the sound.  I keep changing the notification sound but that doesn't do it.  I hit text messages and then the menu and there is nothing there to change it.  What am I doing wrong?  I test with my husband allot during the day but If I can't hear the text I can't respond to him.  Thank you all soo much for your help!

    Actually, you can modify ringtone for each contact by opening up Contacts, persons name, and it has Ringtones. Under Ringtones, it has Default... you can change that to whichever... although I am not sure whether that is a text ringtone or a call ringtone...my bet is on the call ringtone...

  • Need some code help please

    I am trying to make a sun and planet with the planet orbiting the sun. It is all working but the complier is having a problem with the instance variable _ball in the programs.  Can anyone help me fix this, I think I'm almost there.
    public class MovingBall extends javax.swing.JPanel
        int X0 = 100, Y0 = 100;
        double X2, Y2;
        double r = 10;
        double a = 0;
        double da = .04;
        double ecc = 1;
        double TWOPI = 2 * Math.PI;
        private javax.swing.JPanel _panel;
        public MovingBall (java.awt.Color aColor, javax.swing.JPanel aPanel)
         super();
         _panel = aPanel;
         X2 = X0 + r * Math.cos(a);
         Y2 = Y0 + r * Math.sin(a);
         //this.setLocation(X2, Y2);
        public void move()
         a = a + da;
         a = a % TWOPI;
         X2 = X0 + r * ecc * Math.sin(a);
         Y2 = Y0 + r * ecc * Math.sin(a);
         //this.setLocation (X2, Y2);
        public boolean inFront()
         return (a <= Math.PI);
        public void SetCircle(int x, int y)
         X0 = x;
         Y0 = y;
         //ecc = 1.0 - (double)pct/100;
    public class MovingBallPanel extends javax.swing.JPanel implements Mover, Controller
        private final int INIT_X = 250;
        private final int INIT_Y = 200;
        private SmartEllipse _sun;
        private Sky _sky;
        private final int SUN_DIAMETER = 60;
        //private MovingBall _ball;
        private final int PLANET_DIAMETER = 35;
        private final int ORBIT_DIAMETER = 185;
        int _da = 1;
        int _ecc = 1;
        private final int INTERVAL = 100;
        private MoveTimer _timer;
        public MovingBallPanel()
         super();
         this.setBackground(java.awt.Color.BLACK);
         _sun = new SmartEllipse(java.awt.Color.YELLOW);
         _sun.setSize(SUN_DIAMETER, SUN_DIAMETER);
         _sun.setLocation(INIT_X - SUN_DIAMETER/2, INIT_Y - SUN_DIAMETER/2);
         //_ball = new MovingBall();
         //_ball.setCenter((INIT_X - PLANET_DIAMETER)/2, (INIT_Y - PLANET_DIAMETER)/2);
         //_ball.setAngleIncrement(_da);
         _sky = new Sky();
         _timer = new MoveTimer(INTERVAL, this);
         _timer.start();
        public void move()
            //_ball.move();
            this.repaint();
        public void go (boolean g)
         //if (g) _ball.setAngleIncrement(_da);
            //else _ball.setAngleIncrement(0);
        public void setSpeed(int degrees)
         _da = 2 * degrees;
         //_ball.setAngleIncrement(_da);
        public void setEccentricity(int pct)
         _ecc = pct;
         //_ball.setEccentricity(_ecc);
        public void paintComponent(java.awt.Graphics aBrush)
         super.paintComponent (aBrush);
         java.awt.Graphics2D betterBrush = (java.awt.Graphics2D) aBrush;
         _sky.paintSky(betterBrush);
         _sun.draw(betterBrush);
         _sun.fill(betterBrush);
         //_ball.fill(betterBrush);
    }I think only those classes affect the problem. Thanks.

    They all complie separately, but when I complie PlanetApp which creates the frame it has the problem. It says it can't find the symbol for ball for all the methods that I call with it, such as ball.setEccentricity(...) or _ball.fill(...).  Here is the PlanetApp class.  Thanks.
    public class PlanetApp extends javax.swing.JFrame
        ControlPanel _controlPanel;
        MovingBallPanel _movingBallPanel;
        public PlanetApp (String title)
         super(title);
         this.setSize(600,500);
         this.setBackground(java.awt.Color.BLACK);
         this.setDefaultCloseOperation(javax.swing.JFrame.EXIT_ON_CLOSE);
         _movingBallPanel = new MovingBallPanel();
         _controlPanel = new ControlPanel(_movingBallPanel);
         this.add(_movingBallPanel, java.awt.BorderLayout.CENTER);
         this.add(_controlPanel, java.awt.BorderLayout.SOUTH);
         this.setVisible(true);
        public static void main (String [] args)
         PlanetApp app =  new PlanetApp("Lab 7");
    }

  • EP Code samples source location

    Hi,
    I am new a new member in the EP fraternity. I found a lot of examples in the portal services PDF document I downloaded from sdn. But I am unable to find the source of the examples mentioned in the document. Like for example, JCoClientPool.java etc..And also I am unable to locate the PDV files like portaldataviewer.zar, PortalDataViewer.par and PortalDVSamples.par.
    Helping me finding these files is greatly appreciated.
    Thanks,
    -Chakri

    Hi Chakri B,
    Welcome to SDN. If u r looking for some code samples u can get it from PDK. Its a seperate installtion. U can download the setup for PDK from SDN itself. Try this link for PDK
    https://www.sdn.sap.com/sdn/downloaditem.sdn?res=/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/6faddbaa-0501-0010-d5b3-83ec16f6b8fc
    Download it and add PDK to the portal.
    It has details abt the various portal developments.
    Also u can find documentaion about Portal componets from www.help.sap.com.
    If ur looking for some code then u can also find that from SDN code samples. Search in code samples.
    Many of the par files are provided with portal itself. You can download the same from ur server as mentioned in the pervious reply.
    Hope this Helps
    gEorgE

  • Need some guide

    Hi SDN,
    I am new to adobe form.
    i have to build a complex form, a lot of dynamic operation.
    i need some suggestion from you regarding my concern.
    there is  lots of data to be loaded,
    company code, purchage org, payment term, commodity code......
    where can i put those data in form ? what the format shoudl be as I need to write a lot of script to manipulate these data to update the dropdown in the form.
    any input is appreciated.
    thanks
    John

    Hi,
    May be you can look into
    http://help.sap.com/SAPHELP_NW04s/helpdata/EN/32/ca700810b44b3bb24dd4818a18e6e6/content.htm
    I hope this may be useful for you.
    Thanks,
    Chandra

  • How to edit copa data source or change delta method.Need t-code/procedure

    Hi gurus,
    I have a copa extractor in production.The copa extraction is costing based.
    I need to get an extra field from CE1**** table. when i go to KEB0 and display , i see my required field under the chracteristics from segment table. It is unchecked.
    I want to know the transaction where i can go and  edit the datasource to check that field and bring that data in.
    I tried going to T-code KEDV. But i couldnt figure out what to do there?
    I also tried deleting and recreating the datasource, then i am able to check that field. The problem is earlier existing data source used to say,
    Delta Method     Time Stamp Management in Profitability Analysis
    now it says
    Delta Method         Generic Delta.
    how do i change the delta method from generic delta to Time Stamp Management in Profitbility Analysis. During creation in KEB0 it doesnt give any option to change.
    and what exactly is the differnce between both delta methods?
    plz post your inputs.
    Thanks in advance,
    > Points will be assigned for inputs
    Message was edited by:
            ravi a
    Message was edited by:
            ravi a

    Hi Ravi,
    I would expect you are communicating to your users that you will need some downtime for you to change this.  To add characteristics to COPA you actually have to first the delete the datasource in KEB0 then re-create the datasource.  I would work with your CO-PA config team to get the T-Codes necessary to assign those objects to PA.
    Please reference OSS note 392635 for further reference on your CO-PA timestamp question.  This should answer your questions here.
    Pls. assign pts if this helps.
    Thanks,
    -Alex

  • Code samples for SSLEngine?

    I am attempting to re-implement the SSL support in our product under the new non-blocking I/O model. SSLEngine seems to be the starting point...but I can't find any code samples anywhere showing it working.
    Anybody have any ideas where to look?
    There used to be a whole suite of samples in the JSSE...but don't know where they are, now that the JSSE is part of J2SE :(

    SSLEngine is new in tiger (JDK 1.5), and as such, hasn't been released
    publically yet. I believe they are looking at sometime in Q1 2004 for the first
    public beta, and ships later in 2004. If you're a licensee, you can get early drops.Yup...I'm currently working with JDK1.5 b30.
    Anyway, SSLEngine will eventually have sample code, but nothing has been produced yet.
    On the whole, the non-blocking model takes some care to use correctly. The SSLEngine
    is pretty straightforward, but it's not as simple as SSLSocket.I'm aware of that - we've already rewritten our product to utilize java.nio. That's why I was
    hoping to find some code samples for the new SSLEngine class.
    To answer your other (implied) question, the sample
    code for JDK 1.4 can be found in the JSSE Reference Guide. See:
    http://java.sun.com/j2se/1.4.2/docs/guide/security/jsse/JSSERefGuide.html#CodeExamples
    Thanks for the link...I guess I should have looked in the OLD jdk docs. The 1.5 docs
    don't include most of the 'guide' folder from previous releases.

Maybe you are looking for

  • Battery serial number on my mac

    recently I've given my macbook pro for harrdisk repair and after I took it back my battery doesn't last as long as it use to. I have a suspicion that they have kept my original battery and replaced it with an older one. is there any way you could tra

  • Migration questionaire for ICSS n ISA

    Good morning, I wanted to gear up myself with some questions to ask the implementers of a proj. so that I can better understand the kinda implementation that has done. I am looking specifically for ICSS and ISA question. Please post some if you guys/

  • BAPI Extension Values

    Iam changing  a contract  and updating the tables using  BAPI  BAPI_CUSTOMERCONTRACT_CHANGE. Here iam facing the probelm while passing the BAPI Extension values. Can you please advice how we need to pass the entire item data into VALUEPARTx fields .

  • Minimum Hardware Requirement for Siebel CRM 8.0 for Linux Platform?

    Hi, What are the minimum hardware requirement for Siebel CRM 8.0 for Linux OS?

  • Checking # of txt messages

    This is probably explained somewhere, but I can't find it- where do you check how many txt messages you have done?