u can use
ant utility provided by weblogic to generate DD
java weblogic.ant.taskdefs.war.DDInit (dir name) for war file and
java weblogic.ant.taskdefs.ejb.DDInit (dir name) for
ejb. This will generate a skeleton DD, useful to
test urbenas and not for production purpose.