Database expert need to help

Can i know wether MICROSOFT SQL server 2000 can be used by JAVA to retrieve database else THAN JDBC,
microsoft Access

If you are asking can you use the JDBC driver written for MS SQL2000 on other databases, the answer is no (That also includes Access).
If you are asking can you Attach tables in MS SQL2000 and then access them through Java using the MS SQL2000 JDBC, then the answer is yes.
If your question is can you attach to MS Access and MS SQL2000 through Java without a "JDBC Driver", then the answer is a qualified yes. If you are using the JDBC/ODBC bridge, but you have to have the COM/ODBC drivers to make the odbc connection for each database you want to access using the ODBC, and then use the JDBC/ODBC bridge to connect using the ODBC Data Source Name.

Similar Messages

  • Hi abap experts: need some help

    1. how we will find out user-exit for particular transaction through packages please send me step by step?
    2. i have created one table for that i have one change request. i have created one report program. for that i have one change request? which request is released first? and why?
    3.  what is the main difference between ale and edi?
    4. in interactive report we have 20 secondary list? how we wiil move dynamically from one list to another list? like  from 10 th list to 5th list ? if any code is there please send that code?

    hi,
    Check out the following documentation and links:-
    User exits are built into the Standard SAP code. You just activate them and insert your code into the include programs.
    Here is a program that will list the user exits per transaction code. Not perfect, but it may help.
    report z_find_user_exit no standard page heading.
    tables: tstc, tadir, modsapt, modact,
    trdir, tfdir, enlfdir, tstct.
    data : jtab like tadir occurs 0 with header line.
    data : hotspot(30).
    parameters : p_tcode like tstc-tcode obligatory.
    at line-selection.
    get cursor field hotspot.
    check hotspot(4) eq 'JTAB'.
    set parameter id 'MON' field sy-lisel+1(10).
    call transaction 'SMOD' and skip first screen.
    start-of-selection.
    perform get_data.
    perform write_list.
    FORM get_data *
    form get_data.
    select single * from tstc
    where tcode eq p_tcode.
    check sy-subrc eq 0.
    select single * from tadir
    where pgmid = 'R3TR'
    and object = 'PROG'
    and obj_name = tstc-pgmna.
    if sy-subrc ne 0.
    select single * from trdir
    where name = tstc-pgmna.
    if trdir-subc eq 'F'.
    select single * from tfdir
    where pname = tstc-pgmna.
    select single * from enlfdir
    where funcname = tfdir-funcname.
    select single * from tadir
    where pgmid = 'R3TR'
    and object = 'FUGR'
    and obj_name eq enlfdir-area.
    endif.
    endif.
    select * from tadir into table jtab
    where pgmid = 'R3TR'
    and object = 'SMOD'
    and devclass = tadir-devclass.
    select single * from tstct
    where sprsl eq sy-langu
    and tcode eq p_tcode.
    endform.
    FORM write_list *
    form write_list.
    format color col_positive intensified off.
    write:/(19) 'Transaction Code - ',
    20(20) p_tcode,
    45(50) tstct-ttext.
    skip.
    if not jtab[] is initial.
    write:/(95) sy-uline.
    format color col_heading intensified on.
    write:/1 sy-vline,
    2 'Exit Name',
    21 sy-vline ,
    22 'Description',
    95 sy-vline.
    write:/(95) sy-uline.
    loop at jtab.
    select single * from modsapt
    where sprsl = sy-langu and
    name = jtab-obj_name.
    format color col_normal intensified off.
    write:/1 sy-vline,
    2 jtab-obj_name hotspot on,
    21 sy-vline ,
    22 modsapt-modtext,
    95 sy-vline.
    endloop.
    write:/(95) sy-uline.
    describe table jtab.
    skip.
    format color col_total intensified on.
    write:/ 'No of Exits:' , sy-tfill.
    else.
    format color col_negative intensified on.
    write:/(95) 'No User Exit exists'.
    endif.
    endform.
    SMOD, is where you can find the system modifications provided by SAP. CMOD is where you will implement them. If you are looking for all the enhancements provided, then go to CMOD, follow the menu, 'Utilities-->SAP Enhancements'. This will take you to a screen where if you just execute it, you will get all the enhancements provided by SAP.
    It is always difficult to find a user exit if all you have is a program name or a transaction code, unless you do a program like Rich suggested. But even there, you will not be able to find user exits that are implemented as sub-routines(also called forms not sapscript forms). Most of the user exits are documented under the corresponding task under IMG structure. So use transaction code SPRO, go to the IMG structure, choose the application area that your program or transaction might be and then you should find a task that talks about enhancements. If you execute that task most often it will take you to CMOD and sometimes to SE38. But all you want to know is there in the documentation attached to the task. Then you can go to CMOD and see which components are there.
    Finding BADIs
    Business add-ins are enhancements to the standard version of the system.
    Business Add-In is a new SAP enhancement technique based on ABAP Objects.
    They can be inserted into the SAP system based on specific user requirements.
    Each Business Add-In has:
    • at least one Business Add-In definition
    • a Business Add-In interface
    • a Business Add-In class that implements the interface
    In order to enhance a program, a Business Add-In must first be defined
    Subsequently two classes are automatically generated:
    • An interface with ‘IF_EX_’ inserted between the first and second characters of the BADI name.
    • An adapter class with ‘CL_EX_’ inserted between the first and second characters of the BADI name.
    The Application developer creates an interface for this Add-In.
    There are multiple ways of searching for BADI.
    • Finding BADI Using CL_EXITHANDLER=>GET_INSTANCE
    • Finding BADI Using SQL Trace (TCODE-ST05).
    • Finding BADI Using Repository Information System (TCODE- SE84).
    1. Go to the Transaction, for which we want to find the BADI, take the example of Transaction VD02. Click on System->Status. Double click on the program name. Once inside the program search for ‘CL_EXITHANDLER=>GET_INSTANCE’.
    Make sure the radio button “In main program” is checked. A list of all the programs with call to the BADI’s will be listed.
    The export parameter ‘EXIT_NAME’ for the method GET_INSTANCE of class CL_EXITHANDLER will have the user exit assigned to it. The changing parameter ‘INSTANCE’ will have the interface assigned to it. Double click on the method to enter the source code.Definition of Instance would give you the Interface name.
    2. Start transaction ST05 (Performance Analysis).
    Set flag field "Buffer trace"
    Remark: We need to trace also the buffer calls, because BADI database tables are buffered. (Especially view V_EXT_IMP and V_EXT_ACT)
    Push the button "Activate Trace". Start transaction VA02 in a new GUI session. Go back to the Performance trace session.
    Push the button "Deactivate Trace".
    Push the button "Display Trace".
    The popup screen "Set Restrictions for Displaying Trace" appears.
    Now, filter the trace on Objects:
    • V_EXT_IMP
    • V_EXT_ACT
    Push button "Multiple selections" button behind field Objects
    Fill: V_EXT_IMP and V_EXT_ACT
    All the interface class names of view V_EXT_IMP start with IF_EX_. This is the standard SAP prefix for BADI class interfaces. The BADI name is after the IF_EX_.
    So the BADI name of IF_EX_CUSTOMER_ADD_DATA is CUSTOMER_ADD_DATA
    3. Go to “Maintain Transaction” (TCODE- SE93).
    Enter the Transaction VD02 for which you want to find BADI.
    Click on the Display push buttons.
    Get the Package Name. (Package VS in this case)
    Go to TCode: SE84->Enhancements->Business Add-inns->Definition
    Enter the Package Name and Execute.
    Here you get a list of all the Enhancement BADI’s for the given package MB.
    Have a look at http://help.sap.com/saphelp_nw04/helpdata/en/04/f3683c05ea4464e10000000a114084/content.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/73/7e7941601b1d09e10000000a155106/frameset.htm
    http://support.sas.com/rnd/papers/sugi30/SAP.ppt
    http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/abapindx.htm
    http://members.aol.com/_ht_a/skarkada/sap/
    http://www.ct-software.com/reportpool_frame.htm
    http://www.saphelp.com/SAP_Technical.htm
    http://www.kabai.com/abaps/q.htm
    http://www.guidancetech.com/people/holland/sap/abap/
    http://www.planetsap.com/download_abap_programs.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/content.htm
    /people/thomas.weiss/blog/2006/04/03/how-to-define-a-new-badi-within-the-enhancement-framework--part-3-of-the-series
    /people/thomas.weiss/blog/2006/04/18/how-to-implement-a-badi-and-how-to-use-a-filter--part-4-of-the-series-on-the-new-enhancement-framework
    How to develop BADI
    Regards,
    Sankar

  • BPEL Experts - Need ur help

    Hi
    I have successfully deployed the Credit rating sample and also able to invoke it through invokeCreditRating.jsp.
    I am also getting a reply back.
    Sample location:
    C:\orabpel\samples\tutorials\102.InvokingProcesses\jsp\invokeCreditRatin
    gService.jsp
    The code is as follows:
    Map payload = res.getPayload();
    BPEL Tutorial 3: Manipulating XML Documents in BPEL Page 7
    out.println( "BPELProcess CreditRatingService executed!<br>" );
    out.println( "Credit Rating is " + payload.get("payload") );
    %>
    The sample says that the result will be "Credit rating is 560".
    but what i get as result is "Credit rating oracle.xml.parser.v2.XMLElement@148248f"
    Let me know why this is happening. Also share any knowledge in this regard.
    Thanks and Regards,
    BPELUser

    this error comes dur to several issues but try this i hope it will help.
    -first u must log in with same user, which u used for installation.
    -if u r already with the same user, than if u have changed ur user password than set the password in ->go to services than double click in to that AS service and than go to log on tab and set this user credintials.
    -if u have not change the password than shutdown all services and start again with sequence like infra db, listener, and so so so.....
    -if still problem exist than set all services to manual in services and than restart ur machine and try to start with manual commands.
    opmnctl startall etc etc.
    -if still problem exist i must recomand log ur issue in to metalink.
    UM

  • Hello All - new to databases.  Need guidance/help/direction

    Currently a network administrator with 4 years experience.
    in 1 year , I believe we take a class on oracle. well a class on db's, with a focus on oracle. I'm completely a newbie with db's however. I want to start a path in oracle, and learn it. It is interesting, and the financial return can be good in life, pays well in my area in north alabama.
    What version should I use? Where do you start out, remember. zero experience, just some pointers please, to maybe become dba in a few years.

    Well they may be right. According to one website that I saw Oracle DBA salaries for job postings in Huntsville, AL are 13% higher than the average Oracle DBA salaries nationwide.
    http://www.indeed.com/salary?q1=Oracle+DBA&l1=huntsville%2C+alabama
    But in reality I don't think you get a base salary that high unless you have lots of experience and credentials. Here are a few weblinks that might provide you more insight:
    http://www.payscale.com/research/US/Certification=Oracle_Certified_Professional_(OCP)_DBA/Salary/by_State
    http://www.indeed.com/salary?q1=Oracle+DBA&l1=alabama
    http://www.certmag.com/articles/templates/cmag_feature.asp?articleid=981&zoneid=1
    Last I found a link to "So you want to be a DBA"
    http://searchoracle.techtarget.com/qna/0,289202,sid41_gci1077095,00.html

  • Need a help / advice & guidance whether to switch on my Career in SAP-PM from core industries after spending my 09 years of experience in Core field that to in Maintenance.

    Hello Adviser /expert,
    Need a help / advice & guidance whether to switch on my Career in SAP-PM from core industries after spending my 09 years of experience in Core field that to in Maintenance.
    As now i m thinking to do SAP-PM certified course from authorized SAP partner in India that to Pune.
    So any one can suggest authorized SAP partner in India that to Pune.
    My introduction (About myself): - I had done my Diploma in Mechanical and had total 09 years of experience in Mechanical Maintenance field that to in different manufacturing company such as Steel, Auto Ancillary & Cotton plant.
    Whether its right decision to change my career from Core sector to SAP-PM..??
    Is there very good scope in SAP-Pm for me after 09 years of Core Maintenance field..???
    Guide me
    Warm Regard
    Ravin

    Ravindra,
    SAP PM is very niche Module, very in demand module, at the same time, being niche, getting into it and getting 1 implementation is also difficult.
    your decision of joining SAP authorized training is the best option, as a certified consultant, you have more chances to get a break as fresher and you can continue working on it, else it would waste of your intellectual energy.
    you just search sap.com training or email them or chat with them, they will give u the training center details,
    but very less training classes are available. Try you will get lucky soon

  • I need a MacBook experts, master to help me!!! I just tried the craziest move on my mac! My dad's gonna kill me if he finds out!!!

    I need a MacBook experts, master to help me!!! I just tried the craziest series of moves on my mac.
    Begun when the mac hung for nearly an hour. I held the power key to force a shut off.
    This made me think of erasing some things on my hard drive. I used cmd r for disk utility and begun erasing volumes.
    Then, I thought instead, why not just reinstall OSX since nothing I wanted was on it.
    I tried to reinstall OSX but this time it loaded then suddenly said, an error occurred.
    I Went back to disk utility and cleared stuff I can't even remember.
    Another unbelievable thing happened. The disk utility actually hung for a good ten minutes! i went and forced a shut off again.
    Now, whenever I turn the mac on, a flashing folder appears.
    at this point, I usually turn to the net for answers.
    Greatest thing is, every cmd something I try doesn't even trigger a reaction. Only cmd opt showed my mouse cursor.
    i Do not have the original OSX install disk for my mac. Any geniuses got any clues???

    Your post somehow found its way to a low-traffic forum about technical issues with posting in Apple Support Communities. I have asked the Hosts to move you to a more appropriate hardware forum for your product.

  • Need urgent help with database startup

    dear all,
    i am using oracle 10g on windower server 32 bit.
    i try to startup my database today, and it give me error, and it is my production database,
    i need very urgent help from you.(i have no rman backup , and the data is not so necessory, since it is for student practice.)
    SQL> startup open
    ORACLE instance started.
    Total System Global Area  524288000 bytes
    Fixed Size                   790180 bytes
    Variable Size             250343772 bytes
    Database Buffers          272629760 bytes
    Redo Buffers                 524288 bytes
    Database mounted.
    ORA-01110: data file 34: 'G:\ORACLE\DATAFILES_ACADEMY\ACADEMY'
    ORA-01115: IO error reading block from file 34 (block # 1)
    ORA-27070: async read/write failed
    OSD-04016: Error queuing an asynchronous I/O request.
    O/S-Error: (OS 23) Data error (cyclic redundancy check).regards.

    Maahjoor wrote:
    Hi dears,
    i need further assistance from your side, i have restarted the server, but the same problem.
    as there a way to drop and re-create a system tablespace? since the file 34 belong to system tablesapce.
    regardsNo.
    So just create a new database. That will take all of ten minutes. And tell your students to create new tablespaces. That will take them two minutes.

  • Where is the forum for TFS, I have found an issue related to its database I need help

    Hello,
    Where is the forum for TFS, I have found an issue related to its database I need help 
    One of the encrypted Stored Procedure is throwing an error and I have no
    idea how to fix the problem.
    EXEC dbo.InstallWorkItemWordsContains
    FOR XML could not serialize the data for node 'nt_user_name' because it contains a character (0x0000) which is not allowed in XML. To retrieve this data using FOR XML, convert it to binary, varbinary or image
    data type and use the BINARY BASE64 directive.
    Msg 3616, Level 16, State 2, Line 1
    An error was raised during trigger execution. The batch has been aborted and the user transaction, if any, has been rolled back.

    Hello,
    Here are the
    Visual Studio Team Foundation Server forums.
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book:
    Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

  • Crystal Report VS2005 - Table fields missing in Database Expert

    Hi,
    I am having a problem with the Crystal Report comes with Visual Studio 2005. I am trying to develop a customized report for SAP Business One. When I try to add two tables using the Database Expert, there are certain fields missing in the LINK page. This is a big problem for me because I need to link that field with another table. Oddly, it doesn't seems that there are anything wrongs with the missing fields. If I click OK and check at the Field Explorer, the missing fields are there!!!
    In other words, it is missing only at the Database Expert --> Link Tab. Anyone having the same problem? Is this a known issue or any patch that I can apply to resolve this issue?
    Thanks in advance for your help.
    Regards,
    Harianto

    Try this link to resolve your issue:
    Full Outer Join option for SQL Query and BW Query grayed out
    Thank you
    Don

  • Database Expert causes CR to lock up

    I created a new report with 1 database connection via OLE - ADO.  Everything works fine until I need to add more tables to my report.  When I try to access the Database Expert, CR locks up completely.  There is no indication that it is waiting for information to be returned from the server and I have waited over 15 minutes for the window to appear but it doesn't.
    I cannot interact with CR at all at this point.  When I use Task Manager to end the application session, it informs me that the application is waiting for a response from me which made me think that the Database Expert window is hidden but open.  When I try Alt+Tab to find the window, I do have an option for Database Expert, but selecting it does nothing.  I do not have an option for Crystal Reports though.
    I have recreated the report and the same thing happens, I can use Database Expert the first time, but not any time thereafter.  Any ideas what might be causing this or what I can do to troubleshoot further?
    I am using Crystal Reports XI (11.0.0.1282) on XP and have checked for updates, there were none available.
    Thank you in advance for your help!

    Hi Ann,
    Not sure, what OS are you using?
    Download CR XI R2 ( 11.5 ) trial version or go to the download page and get the full build of Service Pack 3 and use your CR XI keycode, free upgrade. Then try again.
    Thank you
    Don

  • LabView expert needed ASAP

    LabView expert needed ASAP to help complete a project. Specific skills
    needed are database connectivity experience with the LV Database
    Toolkit. Initial phase is approx. 15-20 hours of work with the
    potential for much more if we find the right person. Must be in Austin,
    TX for initial on site work.
    Job location is Austin, TX.
    Compensation: $50-75/hr

    Hello,
    My name is Robert Bohannon and I reside in the Denver, CO area. I’ve attached my resume for your review. I have been doing automated test system development for over 15 years and have been an independent consultant for over 5 years. I’m writing you to express my interest in your job posting in the LabView Job Openings Forum. I am currently looking for contract opportunities and I believe that my services could be of great value to you.
    Please review my resume and if you find any experience of mine that may potentially fit your job requirements, please let me know. I will provide references upon request.
    Thank you for your time.
    Robert Bohannon
    Attachments:
    resume.2006.05.21.pdf ‏315 KB

  • Need urgent help in listing out checklist from DBA prespective for BI Implementation Project

    Hello Guys,
    We are in Designing phase Data Modeling of PDW/APS Implementation Project.
    I need urgent help in making a checklist from a DBA perspective.
    Like what are things ill be needing at a time of implementation/Deployment.
    Your expert comments and help will be highly appreciated.
    Thank you,
    Anish.S
    Asandeen

    You can get good summary of checklist from this article about
    DBA checklist for data warehousing.
    Which highlights on below pointers:
    New system or old. (I.e. Up-gradation vs starting from scratch)
    Complexity of SQL Server architecture 
    SQL Server storage
    Determining SQL Server processing power
    SQL Server installation consideration 
    SQL Server configuration parameter
    SQL Server security
    SQL Server Database property
    SQL Server jobs and automation
    Protecting SQL Server data
    SQL Server health monitoring and check ups
    SQL Server ownership and control 
    based on my real time experience, I will suggest you to keep an eye on 
    Load performance (It will be useful when your database(Warehouse) will have huge amount of data)
    System availability (Check for Windows update and up time configuration) 
    Deployment methodology should be planned in advance. Development of packages and respective objects should be done systematically.
    Source control mechanism 
    Disk space and memory usage
    You might or might not have full rights on production environment, so be prepared to analyze production environment via Select statements [I guess you got my point]
    Proper implementation of Landing , Staging and Mart tables.
    Column size (this can drastically decrease your database size)
    Usage of indexes (Index are good, but at what cost?)
    I hope this will assist you in building your check list.

  • CRVS2010 Beta - Event ID 4353, VS2010 crash when database expert used

    I have been fighting this issue for a few days now.  My co-workers and I just recently received VS 2010 Pro licenses and installed successfully on our desktops.  Then, we all downloaded and installed the CR2010 beta 2.  The other two guys I work with had no problems creating their first reports using CR2010 beta 2, where as I end up with a crashed VS 2010 and an event logged as follows:
    Event Type:     Error
    Event Source:     Crystal Reports
    Event Category:     None
    Event ID:     4353
    Date:          9/13/2010
    Time:          12:00:33 PM
    User:          N/A
    Computer:     KFC-PM-71736
    Description:
    The description for Event ID ( 4353 ) in Source ( Crystal Reports ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: The keycode assembly, BusinessObjects.Licensing.KeycodeDecoder.dll, cannot be loaded.
    I have been reading the forum (as best I can with our terrible ISP here) and have not been able to find anything that corrects my issue.  All 3 of us have the same machine and similar products installed (VB 6 with CR, VS 2003 with CR, and VS 2005 with CR).   Again, the other two guys have not experienced any issues.
    Any help would be greatly appreciated.
    I am also trying to work thorugh getting a dump of the process so that I might try and troubleshoot more on my own, but have been unable to get the tools to work out for me (DebugDiag and Process Monitor and attaching process in a second VS 2010).

    That is interesting that the order may have made a difference.
    Anyhow, I don't have a clean machine in which to work from; I really need to get some sort of reports solution working with my VS 2010.  Can you recommend a production level Crystal Reports version that will work with VS 2010?  Maybe something that can be installed side-by-side with the other products I already have installed?
    I thought I might have read somewhere about 2008?
    Thanks for your help.  I felt like I was hitting up against a wall when everyone else seemed to get things to work, yet I all I got was a crashed VS 2010 (when attempting to use the Database Expert).
    Shay

  • Need some help frist time useing dreamweaver

    Hey all,
    I am totaly new to Dreamweaver and am needing some help. I am
    needing to make a feedback form. Would need it to e-mail me the
    feedback to something like [email protected] I also need to know
    how to make a footer for the copyright and desiged by, on each page
    without having to manually entering them. Any help I could get
    would be awsome.

    There are only two ways to process form data -
    1. Use mailto:[email protected] as the action of the form
    2. Use a server-side scripting method to a) harvest the
    form's data, b)
    process it in some manner, e.g., enter it into a database, c)
    formulate and
    send an email to one or more email recipients, and d)
    redirect the visitor
    to some ending page
    Method 1 is quite simple, and is also the least reliable. It
    depends both
    on your visitor having an email client already installed on
    their computer -
    this eliminates public computers, or home users without email
    clients
    installed (more and more it seems) - and on the installed
    email client
    responding to
    the mailto call. It is not possible to use this method *and*
    send the
    visitor to a
    thank you page as well.
    Method 2a is the preferred method, since it eliminates the
    problems of
    method
    1, but it means that you have to grapple with
    server-scripting somehow (ASP,
    CF, PHP, perl, etc.).
    Method 2b would be to use some third-party form processing,
    like
    http://www.bebosoft.com/products/formstogo/.
    You would have to decide which of these methods is best for
    your needs,
    but if it's Method 2a, then start by asking your host what
    they provide for
    form
    processing. If it's 2b, then read their FAQ/instructions
    carefully.
    For your footer, investigate the use of DW's Templates (use
    F1 Help to read
    about them), or of server-side includes (again, F1 Help will
    give you some
    info here, as will Google).
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Xysos_Designs" <[email protected]> wrote in
    message
    news:[email protected]...
    > Hey all,
    > I am totaly new to Dreamweaver and am needing some help.
    I am needing to
    > make
    > a feedback form. Would need it to e-mail me the feedback
    to something like
    > [email protected] I also need to know how to make a
    footer for the
    > copyright
    > and desiged by, on each page without having to manually
    entering them. Any
    > help
    > I could get would be awsome.
    >

  • Beginner in java and need your help about DES

    hello,
    I m a new guy in java programming and learn from many books.I m making a website and portal right now and dying need your help about DES.my portal (using java) requires somebody to make a login name and a password.I m done with the server and client things and rite now stuck with this "DES" stuff.
    so I make some conditions and algorithm below..
    1. when a user login,the password is encrypted.at this point,cleartext(id) and encryption (M,N) are involve.
    2. then the key is changed based on algorithm.
    3.the key changed by key(id) is received and the original text should be encrypted.
    the algorithm
    1. the original text x1.x2.x3.x4.x5.x6.x7.x8 (64 bits)
    2. encypt the password
    a. Each character is changed into an int type by the ASCII code, and let the 1st bit be an odd number parity bit.
    b.The 1st bit of the 1st character in (IP) is set to '1', and the 8th bit of the 8th character as '64'.
    c.the rest (IP) is like this
    1 2 3 4 5 6 7 8
    0 # 58 50 42 34 26 18 10 2
    8 # 60 52 44 36 28 20 12 4
    16 # 62 54 46 38 30 22 14 6
    24 # 64 46 48 40 32 24 16 8
    32 # 57 49 41 33 25 17 9 1
    40 # 59 51 43 35 27 19 11 3
    48 # 61 53 45 37 29 21 13 5
    56 # 63 55 47 39 31 23 15 7
    d. and lastly,from above,,it should be done like this
    1 2 3 4 5 6 7
    0 # 40 8 48 16 56 24 64 32
    8 # 39 7 27 15 55 23 53 31
    16 # 38 6 26 14 54 22 52 30
    24 # 37 5 25 13 53 21 51 29
    32 # 36 4 24 12 52 20 50 28
    40 # 35 3 23 11 51 19 49 27
    48 # 34 2 21 10 50 18 48 26
    56 # 33 1 20 9 49 17 47 25
    e. key y1,y2,y3,y4,y5,y6,y7,y8 (64bit)
    f. generate the key based on ID
    a. Each character is changed into an int type by the ASCII code, and let the 1st bit be an even number parity bit.
    b.the process is repeat again.
    anybody has an idea to help me with the sample program?
    thanks in advance...

    just ask about a simple program how to receive a
    password from somebody and change it to a key..and
    then confirm it with DES.Once again I have a problem understanding what you are asking.
    Are you trying to use the password as a key to encrypt some 'standard thing' and place this encrypted value in a database? If so then look in the JCE for 'password based encryption' such as PBEWithMD5AndDes. This seems back to front to me but I can see nothing wrong with the approach since the 'standard thing' you would encrypt is in effect a key. If this is for a commercial application then I would find a security expert to evaluate your proposal!
    In my experience it is more normal to encrypt the user's password with DES and store the result in the database. To do this just look in the JCE for DES encryption and consider using DES with CBC and PKCS5 padding. Also, consider encrypting the concatenation of the user's 'user name' with the password as this will (almost certainly) avoid having two encrypted values in the database that are the same even if two users have the same password.
    For both of these you might consider using Base64 or Hex to turn you encrpted bytes into ASCII characters before trying to store them in your DB.

Maybe you are looking for

  • REPORT WITH SALES AND PRODUCTIN INTEGRATION?

    HI,    HERE I NEED TO DISPLAY THE SALES AND PRODUCTION INTEGRATED (FOR MAKE TO STOCK) LIST BY DAY WISE ,I AM NOT ABLE TO FIND THE TABLES FOR THAT. HERE LIST HEADER IS FOLOWING. MATERIAL CODE, MATERIAL DISCRIPTION, PRODUCTION QTY, PROD. VALUE, SALES(B

  • Logical file / physical file

    Hi, can anybody tell how logical file is different from physical file during the lsmw direct input method. I am trying to upload Purchase-info data through  a source file on presentation server. I am done with import data, read data, convert data aft

  • How to send a mail in workflow keeping 1 receiver in CC and the other in TO

    Hi, Can anybody tell me how to send a mail in workflow keeping 1 receiver in CC and the other in TO. I need to send a mail to an employee keeping his/her manager in CC through workflow. Regards, Lavanya

  • How do I total expenses per month

    I am using the check register template in numbers.  I added a table to calculate a running total of expenses per category per month.  I can get the table to keep a running total of expenses per category, but have not been able to add the per month va

  • Table for invoice no against outbound no.

    hi friends.Is there any table in sd module that tell us the invoices no against a outbound without using item no of outbound. i mean by using only outbound no we can have the coressponding invoice no and not by using the item no of the outbound.